Releases: zsmb13/MaterialDrawerKt
1.3.1
1.3.0
After some inactivity since last year, here's another update! Let's see what's included.
Internal improvements and small breaking changes
This section is only relevant if you've been extending this DSL to use it with your own custom drawer items.
The build method of the drawer items is now in their base class (AbstractDrawerItemKt), and has internal visibility. The builder classes (ending in Kt also now take a generic parameter which is the type of the item that they can build. This greatly decreases the number of repeated lines in the library's implementation, and makes creating DSL builders for new drawer items much shorter - for drawer items that don't introduce new properties, the builders are one liners now.
To replace your old code that relied on the aforementioned build method, you can use the generic createItem method instead (see here). To see an example of this upgrade, you can look at this commit, specifically the CustomPrimaryDrawerItemKt or the OverflowMenuDrawerItemKt class.
Version updates
As always, this update has some version bumps to the latest versions of various dependencies.
- Base library version updated to 6.0.3 (see the release notes there to see what's new)
- Kotlin version updated to 1.2.21
- Support library updated to 27.0.2
- Gradle plugin updated to 3.0.1
Other improvements
- Some code formatting and improvements to match the official coding conventions for libraries
- The sample app now supports adaptive icons
1.2.2
1.2.1
1.2.0
🎃 Spooky Halloween update 👻
This release includes many version updates following up on Google's recent wave of releases as well as the new major version of the base library.
Important changes:
- The support libraries used by the library are now included as
implementationdetails thanks to the new Gradle plugin, so you have to provide the necessary libraries yourself separately (see the README for details). - API change: the
positionBasedStateManagementofDrawerBuilderKtis now a deprecated no-op. The underlyingFastAdapterclass no longer has this option, so any calls to this should just be removed.
Boring changes:
- Sample app updated to use new library version as well as new Iconics packages
New versions of stuff in no particular order:
- Kotlin version 1.1.51
- Build tools 27.0.0
- Compile SDK 27
- Target SDK 27
- Support library 27.0.0
- Gradle plugin 3.0.0
- Gradle wrapper 4.1
- MaterialDrawer (base library) 6.0.0