i have 1 activity "x" can called multiple activities "a", "b" "c" . i'd implement button in appbar behaves backbutton on phone.
meaning: if 1 hit button in activity "x" user should go activity "a" when activity "x" called activity "a". hope usecase clear ;-)
if try use method form post:
android studio tells me, can't override onmenuitemselected method because final.
is there away around? or better way this?
thanks or hint.
your onmenuitemselected coming final guess using actionbaractivity. if yes, try extending onoptionsitemselected. method isn't final in class.
Comments
Post a Comment