0
Could someone please explain me this?
Hello community I want to create an options menu item onClick listener to my root_preference screen in Android Studio but there are a couple of problems I am facing. I searched long on stackoverflow.com and fall along this answer. https://stackoverflow.com/a/63731738 As a total beginner since 6 months, I don't understand the following: MySharedPreferences.clearToken() What does this do or what is mySharedPreferences? How I can create an Action and where to put it? R.id.action_logout finish() has an error in my Code. Why? I am working in a Team of beginners and we all would be very happy if someone could help us with this problem online: https://github.com/chatbot-devs/chatbot-help Thank you very much Julian
1 Respuesta