Skip to content

Commit

Permalink
Merge branch 'release/v5.3.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Jul 7, 2016
2 parents 00ae51b + ea03786 commit 4bfc74e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 9 deletions.
3 changes: 3 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
###Upgrade Notes

#### v5.3.3 -> 5.3.4
* If you use the `FastAdapter` please read the upgrade notes for v1.6.0 (https://github.com/mikepenz/FastAdapter/releases/tag/v1.6.0)

#### v5.3.1 -> v5.3.2
* the `withOnMiniDrawerItemClickListener` was renamed to `withOnMiniDrawerItemOnClickListener`
* added new separate `OnMiniDrawerItemClickListener` which allows to hook into the default behavior, and prevent it if necessary
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can find some frequently asked questions and other resources in the [WIKI /
##1. Provide the gradle dependency

```gradle
compile('com.mikepenz:materialdrawer:5.3.3@aar') {
compile('com.mikepenz:materialdrawer:5.3.4@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 setup.minSdk
targetSdkVersion setup.targetSdk
versionCode 533
versionName "5.3.3"
versionCode 534
versionName "5.3.4"

setProperty("archivesBaseName", "-v$versionName-c$versionCode")
}
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=5.3.3
VERSION_CODE=533
VERSION_NAME=5.3.4
VERSION_CODE=534
GROUP=com.mikepenz
POM_DESCRIPTION=MaterialDrawer Library
POM_URL=https://github.com/mikepenz/MaterialDrawer
Expand Down
6 changes: 3 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion setup.minSdk
targetSdkVersion setup.targetSdk
versionCode 533
versionName '5.3.3'
versionCode 534
versionName '5.3.4'
}
buildTypes {
release {
Expand Down Expand Up @@ -47,5 +47,5 @@ dependencies {
// used to fill the RecyclerView with the DrawerItems
// and provides single and multi selection, expandable items
// https://github.com/mikepenz/FastAdapter
compile 'com.mikepenz:fastadapter:1.5.8@aar'
compile 'com.mikepenz:fastadapter:1.6.0@aar'
}
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,17 @@ public boolean isExpanded() {
return mExpanded;
}


/**
* overwrite this method and return true if the item should auto expand on click, false if you want to disable this
*
* @return true if this item should auto expand in the adapter
*/
@Override
public boolean isAutoExpanding() {
return true;
}

/**
* the abstract method to retrieve the ViewHolder factory
* The ViewHolder factory implementation should look like (see the commented code above)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<b>MaterialDrawer</b> the flexible, easy to use, all in one drawer library for your Android project.
]]>
</string>
<string name="library_materialdrawer_libraryVersion">5.3.3</string>
<string name="library_materialdrawer_libraryVersion">5.3.4</string>
<string name="library_materialdrawer_libraryWebsite">https://github.com/mikepenz/MaterialDrawer</string>
<string name="library_materialdrawer_licenseId">apache_2_0</string>
<string name="library_materialdrawer_isOpenSource">true</string>
Expand Down

0 comments on commit 4bfc74e

Please sign in to comment.