Skip to content

Commit e33e5c7

Browse files
committed
- Update readme about the new feature (+1 squashed commit)
- Fix circle ci for new build tools 25.0.0
1 parent 5715705 commit e33e5c7

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ Extend your adapter to the MultiChoiceAdapter and add it to the RecyclerView as
6969
mMultiChoiceRecyclerView.setAdapter(myAdapter);
7070
```
7171

72-
**N.B.**
73-
- Do not forget to call **super.onBindViewHolder(holder, position);** when binding the view holder
74-
7572
Customize the activation or deactivation just overriding the setActive(View rootView, boolean state) method of the MultiChoiceAdapter
7673
```java
7774
@Override
@@ -87,6 +84,12 @@ Customize the activation or deactivation just overriding the setActive(View root
8784
}
8885
```
8986

87+
<br>
88+
89+
#### Important notes
90+
- Do not forget to call `super.onBindViewHolder(holder, position)` when binding the view holder
91+
- Use the method `refreshDataSet()` instead of the classic `notifyDataSetChanged()` in order to let the library refresh the list and keep a correct internal library state.
92+
9093
## Features
9194
[Sample features](https://github.com/dvdciri/MultiChoiceRecyclerView/blob/master/FEATURES.md)
9295

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ machine:
99
dependencies:
1010
pre:
1111
- echo y | android update sdk --no-ui --all --filter "tools"
12-
- echo y | android update sdk --no-ui --all --filter "build-tools-23.0.3"
12+
- echo y | android update sdk --no-ui --all --filter "build-tools-25.0.0"
1313
- echo y | android update sdk --no-ui --all --filter tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-23
14-
- echo y | android update sdk --no-ui --all --filter build-tools-23.4.0
14+
- echo y | android update sdk --no-ui --all --filter build-tools-25.0.0
1515

1616
test:
1717
override:

0 commit comments

Comments
 (0)