Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 70a287b

Browse files
author
wanjian
committed
no message
1 parent 649a7b0 commit 70a287b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎lib/src/main/java/com/wanjian/view/NestedAdapter.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,4 +313,12 @@ protected int getChildItemViewType(int groupIndex, int childIndex) {
313313

314314
protected abstract void onBindChildViewHolder(C holder, int groupIndex, int childIndex);
315315

316+
protected <T> T getGroupData(int groupIndex) {
317+
return null;
318+
}
319+
320+
protected <T> T getChildData(int groupIndex, int childIndex) {
321+
return null;
322+
}
323+
316324
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /