wseng92 Android Enthusiast Jun 26, 2019 #1 In one of my fragment class, I using invalidateOptionsMenu() as below Java: invalidateOptionsMenu(activity) What can be used to replace invalidateOptionsMenu(Activity activity) ? This method still can be used, but will it be an issue in future?
In one of my fragment class, I using invalidateOptionsMenu() as below Java: invalidateOptionsMenu(activity) What can be used to replace invalidateOptionsMenu(Activity activity) ? This method still can be used, but will it be an issue in future?
D Deleted User Guest Jun 26, 2019 #2 Use AppCompatActivity.invalidateOptionsMenu() ?? https://developer.android.com/refer...ppCompatActivity.html#invalidateOptionsMenu()
Use AppCompatActivity.invalidateOptionsMenu() ?? https://developer.android.com/refer...ppCompatActivity.html#invalidateOptionsMenu()