Skip to content
This repository was archived by the owner on Jul 7, 2019. It is now read-only.

Commit 77383d9

Browse files
authored
Update README.md
1 parent bd52849 commit 77383d9

File tree

1 file changed

+2
-46
lines changed

1 file changed

+2
-46
lines changed

README.md

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff 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
8036
If you are using a ```GridLayoutManager``` set it to adapter.
8137
```java

0 commit comments

Comments
 (0)