Created
September 10, 2022 11:20
-
-
Save hongbeomi/a440f1ea86493f2acedf2384d53f0a09 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 long getItemId(int globalPosition) { | |
WrapperAndLocalPosition wrapperAndPos = findWrapperAndLocalPosition(globalPosition); | |
Long globalItemId = wrapperAndPos.mWrapper.getItemId(wrapperAndPos.mLocalPosition); | |
releaseWrapperAndLocalPosition(wrapperAndPos); | |
return globalItemId; | |
} | |
.. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment