Skip to content

Instantly share code, notes, and snippets.

@hongbeomi
Created September 10, 2022 07:38
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/e96582ed077478fa0546dfbe255cdaa4 to your computer and use it in GitHub Desktop.
Save hongbeomi/e96582ed077478fa0546dfbe255cdaa4 to your computer and use it in GitHub Desktop.
ConcatAdapterController(
ConcatAdapter concatAdapter,
ConcatAdapter.Config config
) {
...
if (config.isolateViewTypes) {
mViewTypeStorage = new ViewTypeStorage.IsolatedViewTypeStorage();
} else {
mViewTypeStorage = new ViewTypeStorage.SharedIdRangeViewTypeStorage();
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment