Skip to content

Instantly share code, notes, and snippets.

@hongbeomi
Created September 10, 2022 08:26
Show Gist options
  • Save hongbeomi/9a5f397f7ec9f26b25cbc864868e9295 to your computer and use it in GitHub Desktop.
Save hongbeomi/9a5f397f7ec9f26b25cbc864868e9295 to your computer and use it in GitHub Desktop.
class NestedAdapterWrapper {
@NonNull
private final ViewTypeStorage.ViewTypeLookup mViewTypeLookup;
NestedAdapterWrapper(
Adapter<ViewHolder> adapter,
final Callback callback,
ViewTypeStorage viewTypeStorage,
StableIdStorage.StableIdLookup stableIdLookup
) {
...
mViewTypeLookup = viewTypeStorage.createViewTypeWrapper(this);
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment