mikepenz/MaterialDrawer

README.md does not reflect current library

clydebarrow opened this issue · 1 comments

About this issue

  • The README.md suggests using this pattern to construct drawer items:
val item1 = PrimaryDrawerItem().withIdentifier(1).withName(R.string.drawer_item_home)

But this produces deprecation messages. I saw nothing in the Migration Guide to help. The sample app does have the newer syntax. Either the README.md should be updated with the current syntax, or suggestions there should be removed.

Details

  • Used library version - 8.1.3
  • Used support library version - using AndroidX
  • Used gradle build tools version 4.0.2

Checklist

Thank you so much for the @clydebarrow ticket. updated the README to also reflect the new syntax