Skip to content

Instantly share code, notes, and snippets.

@hongbeomi
Created September 10, 2022 08:24
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/ab123de152a0c5309c9e6a49a38492d5 to your computer and use it in GitHub Desktop.
Save hongbeomi/ab123de152a0c5309c9e6a49a38492d5 to your computer and use it in GitHub Desktop.
class NestedAdapterWrapper {
int getItemViewType(int localPosition) {
return mViewTypeLookup.localToGlobal(
adapter.getItemViewType(localPosition)
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment