This repository was archived by the owner on Jul 7, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-46
lines changed
Expand file tree Collapse file tree 1 file changed +2
-46
lines changed Original file line number Diff line number Diff line change @@ -28,54 +28,10 @@ public boolean onPlaceSubheaderBetweenItems(int position) {
2828}
2929```
3030# Sample
31- Please try out [ sample app] ( https://github.com/zhukic/Sectioned-RecyclerView/tree/master/sample ) for more details.
31+ Please try out [ sample app] ( https://github.com/zhukic/Sectioned-RecyclerView/tree/master/sample ) for more details. Or:
3232
33- # Modify data
34- ``` java
35-
36- notifyDataChanged();
37-
38- notifyItemInsertedAtPosition(int );
39-
40- notifyItemChangedAtPosition(int );
41-
42- notifyItemRemovedAtPosition(int );
43-
44- ```
45- # Expanding and Collapsing Sections
46- ``` java
47-
48- expandSection(int sectionIndex);
49-
50- expandAllSections();
51-
52- collapseSection(int sectionIndex);
53-
54- collapseAllSections();
55-
56- isSectionExpanded(int sectionIndex);
33+ [ <img src =" https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png " width =" 323 " height =" 125 " >] ( https://play.google.com/store/apps/details?id=com.github.zhukic.sectionedrecyclerview )
5734
58- ```
59- # Other methods
60- ``` java
61-
62- boolean isSubheaderAtPosition(int adapterPosition);
63-
64- int getSectionIndex(int adapterPosition);
65-
66- int getItemPositionInSection(int adapterPosition);
67-
68- boolean isFirstItemInSection(int adapterPosition);
69-
70- boolean isLastItemInSection(int adapterPosition);
71-
72- int getSectionSize(int sectionIndex);
73-
74- int getSectionSubheaderPosition(int sectionIndex);
75-
76- int getSectionsCount();
77-
78- ```
7935# Grid
8036If you are using a ``` GridLayoutManager ``` set it to adapter.
8137``` java
You can’t perform that action at this time.
0 commit comments