android app - kotlin - error while creating a function to call settings screen from options menu | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

android app - kotlin - error while creating a function to call settings screen from options menu

Dear Sololearners I am creating an app with a simple optionsmenu which should open a settings screen with an onclick function. Sadly, the code doesn't work or I missed something. I already created an optionsmenu a navigation.xml file with a actions function inside it a root_preference settings screen But sadly I forgot something or something will somehow not work. I think, that it just would be something very small, which I forgot and I would be sooo happy, if you can help me. For an easier way of problem solving, the whole android studio project is publicly available on github: https://github.com/chatbot-devs/chatbot-help Thank you for any hint, help and problem solving. Kind regards

30th Mar 2022, 8:44 AM
chatbot-dev
1 Answer
0
Can you elaborate more?
13th Aug 2023, 10:57 AM
Mohd Zaki
Mohd Zaki - avatar