Wednesday, 1 August 2018

Kotlin: How to make toolbar menu with Anko DSL?

How to make Android toolbar menu with Anko DSL directly in UI class? Do not want to write listeners in my Activity class.

Regarding my answer given below, is there a way to avoid XML recource file to describe menu items?



from Kotlin: How to make toolbar menu with Anko DSL?

No comments:

Post a Comment