Skip to content

Instantly share code, notes, and snippets.

@hongbeomi
Created September 10, 2022 07:33
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/19f8d50b6532dc294f55773a6173223f to your computer and use it in GitHub Desktop.
Save hongbeomi/19f8d50b6532dc294f55773a6173223f to your computer and use it in GitHub Desktop.
class NestedAdapterWrapper {
@NonNull
private final ViewTypeStorage.ViewTypeLookup mViewTypeLookup;
@NonNull
private final StableIdStorage.StableIdLookup mStableIdLookup;
public final Adapter<ViewHolder> adapter;
final Callback mCallback;
int mCachedItemCount;
private RecyclerView.AdapterDataObserver mAdapterObserver = //...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment