Commit 7b425587 authored by Divyanshu Bhargava's avatar Divyanshu Bhargava

Navigate to profile

parent 2176c0ce
...@@ -111,6 +111,12 @@ class MainActivity : AppCompatActivity(), MainView, HasActivityInjector, HasSupp ...@@ -111,6 +111,12 @@ class MainActivity : AppCompatActivity(), MainView, HasActivityInjector, HasSupp
expanded = !expanded expanded = !expanded
} }
header.image_avatar.setOnClickListener {
view_navigation.menu.getItem(1).isChecked = true
presenter.toUserProfile()
drawer_layout.closeDrawer(Gravity.START)
}
} }
override fun showMessage(resId: Int) = showToast(resId) override fun showMessage(resId: Int) = showToast(resId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment