I use anko layout, in it I love the menu to logout and close, when I try to use finish (), I do not find it and I think there is another way or is it not allowed ?, please your answer
`toolbar {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
inflateMenu(menu_main_menu)
}
I use anko layout, in it I love the menu to logout and close, when I try to use finish (), I do not find it and I think there is another way or is it not allowed ?, please your answer
`toolbar { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { inflateMenu(menu_main_menu) }