python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to open a fragment from another fragment using the Android Navigation Drawer?
I have anAndroid navigation drawer with a menu that tapping on items open fragments. Good so far.
Some of those fragments need to open a new one for more details. I do that using this code from the fi...
Ton
Votes: 0
Answers: 3
No value passed in parameter inflater in OnCreateOptionMenu in fragments kotlin
I wanna use search button in action bar and for that I'm inflating menu in my fragments. here is my code in the picture
If i run this code then this method doesn't inflate menu item and if i remove in...
Shivam verma
Votes: 0
Answers: 0
How to change toolbar title with fragment back stack
I have made a very simple application with multiple fragments in one activity. Also, added toolbar.
Now 4 fragments have different titles.
when I go to fragment 1 the title is Fragment 1
when I go to ...
Andy Jadeja
Votes: 0
Answers: 2
Set adapter for listview in fragment instead of activity
Hello!
I have tried to add a listview in a fragment but it doesn´t accept getApplicationContext:
adapter = new ArrayAdapter<String>(getApplicationContext(), android.R.layout.simple_list_item_1, ...
Lina Harald zz
Votes: 0
Answers: 2