Created
September 10, 2022 11:19
-
-
Save hongbeomi/d3b56f72563b67d9027ddc4230ac19d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ConcatAdapterController implements NestedAdapterWrapper.Callback { | |
.. | |
public int getItemViewType(int globalPosition) { | |
WrapperAndLocalPosition wrapperAndPos = findWrapperAndLocalPosition(globalPosition); | |
int itemViewType = wrapperAndPos.mWrapper.getItemViewType(wrapperAndPos.mLocalPosition); | |
releaseWrapperAndLocalPosition(wrapperAndPos); | |
return itemViewType; | |
} | |
.. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment