Skip to content

Commit

Permalink
Merge branch 'release/v1.0.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Feb 15, 2016
2 parents 7a767aa + 54d01c4 commit 2223bcc
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You can try it out here [Google Play](https://play.google.com/store/apps/details
#Include in your project
##Using Maven
```javascript
compile('com.mikepenz:fastadapter:1.0.5@aar') {
compile('com.mikepenz:fastadapter:1.0.6@aar') {
transitive = true
}
```
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
defaultConfig {
minSdkVersion 11
targetSdkVersion 23
versionCode 105
versionName '1.0.5'
versionCode 106
versionName '1.0.6'

applicationVariants.all { variant ->
variant.outputs.each { output ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class AdvancedSampleActivity extends AppCompatActivity {
//save our FastAdapter
private FastAdapter<IItem> mFastAdapter;
private HeaderAdapter<SampleItem> mHeaderAdapter;
private ItemAdapter<ExpandableItem> mItemAdapter;
private ItemAdapter<IItem> mItemAdapter;

private ActionModeHelper mActionModeHelper;

Expand Down Expand Up @@ -147,7 +147,7 @@ public void onChanged() {
private void setItems() {
mHeaderAdapter.add(new SampleItem().withName("Header").withSelectable(false).withIdentifier(1));
//fill with some sample data
List<ExpandableItem> items = new ArrayList<>();
List<IItem> items = new ArrayList<>();
int size = new Random().nextInt(25) + 10;
for (int i = 1; i <= size; i++) {

Expand All @@ -168,7 +168,7 @@ private void setItems() {
expandableItem.withSubItems(subItems);
items.add(expandableItem);
} else {
items.add(new ExpandableItem().withName("Test " + i).withHeader(headers[i / 5]));
items.add(new SampleItem().withName("Test " + i).withHeader(headers[i / 5]));
}
}
mItemAdapter.set(items);
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maven stuff
VERSION_NAME=1.0.5
VERSION_CODE=105
VERSION_NAME=1.0.6
VERSION_CODE=106
GROUP=com.mikepenz

POM_DESCRIPTION=FastAdapter Library
Expand Down
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 10
targetSdkVersion 23
versionCode 105
versionName '1.0.5'
versionCode 106
versionName '1.0.6'
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ public void setNewList(List<Item> items) {
if (mUseIdDistributor) {
IdDistributor.checkIds(items);
}
mItems = items;
mapPossibleTypes(items);
mItems = new ArrayList<>(items);
mapPossibleTypes(mItems);
getFastAdapter().notifyAdapterDataSetChanged();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<b>FastAdapter</b>, the bullet proof, fast and easy to use adapter library, which minimizes developing time to a fraction...
]]>
</string>
<string name="library_fastadapter_libraryVersion">1.0.5</string>
<string name="library_fastadapter_libraryVersion">1.0.6</string>
<string name="library_fastadapter_libraryWebsite">https://github.com/mikepenz/FastAdapter</string>
<string name="library_fastadapter_licenseId">apache_2_0</string>
<string name="library_fastadapter_isOpenSource">true</string>
Expand Down

0 comments on commit 2223bcc

Please sign in to comment.