Skip to content

Instantly share code, notes, and snippets.

@hongbeomi
Created September 11, 2022 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hongbeomi/06f064efc2312c072faea169162fe1f8 to your computer and use it in GitHub Desktop.
Save hongbeomi/06f064efc2312c072faea169162fe1f8 to your computer and use it in GitHub Desktop.
private void releaseWrapperAndLocalPosition(
WrapperAndLocalPosition wrapperAndLocalPosition
) {
wrapperAndLocalPosition.mInUse = false;
wrapperAndLocalPosition.mWrapper = null;
wrapperAndLocalPosition.mLocalPosition = -1;
mReusableHolder = wrapperAndLocalPosition;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment