getProperViewFromInflatedStub

open fun getProperViewFromInflatedStub(stubLayoutId: Int): View

Gets the view to display the correct card image. Note that since the Content Cards does not use image view stubs any longer, this method is only used for Feed cards.

Return

the view to display the image.

Parameters

stubLayoutId

The resource Id of the stub for inflation as returned by findViewById.