Hello everybody,
I want to show an menu, when the app is started and then navigate with that threw two options, which are referring to different layouts.
I defined it in the xml and it worked, but i cant call it in the onMenuItem Method with code, similar to this:
because dc is not available in that class.
I tried multiple ways of making it somehow possible, but it wouldnt work.
Is it even possible to navigate like that or are there other good ways to do it?