Skip to content

Releases: zsmb13/MaterialDrawerKt

1.3.1

28 Jan 15:11

Choose a tag to compare

  • Hotfix update to base library version 6.0.4

1.3.0

27 Jan 20:59

Choose a tag to compare

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

1.2.2

18 Nov 13:05

Choose a tag to compare

  • Updated base library to 6.0.2
  • Updated support library to 27.0.1
  • Updated Kotlin version to 1.1.60
  • Updated Gradle wrapper to 4.3.1

1.2.1

04 Nov 17:34

Choose a tag to compare

  • Updated base library version to 6.0.1

1.2.0

31 Oct 18:58

Choose a tag to compare

🎃 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 implementation details thanks to the new Gradle plugin, so you have to provide the necessary libraries yourself separately (see the README for details).
  • API change: the positionBasedStateManagement of DrawerBuilderKt is now a deprecated no-op. The underlying FastAdapter class 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

1.1.1

06 Sep 17:21

Choose a tag to compare

  • Fixed a nullability issue with click listeners (#59)

1.1.0

25 Aug 14:03

Choose a tag to compare

  • Added image loading DSL (see the readme for docs)
  • Upgraded build tools version to 26.0.1
  • Upgraded Kotlin version to 1.1.4-2

1.0.6

30 Jul 07:47

Choose a tag to compare

  • Upgraded base library to 5.9.5
  • Removed application block from library manifest #50
  • Target SDK upgraded to 26
  • Build tools upgrade to 26.0.0

1.0.5

02 Jul 13:54

Choose a tag to compare

  • Upgraded base library to 5.9.4

1.0.4

18 Jun 18:23

Choose a tag to compare

  • Upgraded base library to 5.9.3