2 years ago
#54901
Shivam verma
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 inflater parameter then compiler says no value passed to parameter. Now please let me know that how can i pass value to inflater or else (Answer should be in kotlin language)
android
kotlin
search
compiler-errors
fragment
0 Answers
Your Answer