getChildLayoutPosition

Return the adapter position of the given child view as of the latest completed layout pass.

This position may not be equal to Item's adapter position if there are pending changes in the adapter which have not been reflected to the layout yet.

Return

Adapter position of the given View as of last layout pass or NO_POSITION if the View is representing a removed item.

Parameters

child

Child View to query