I use this code
ActionMenuItemView item = (ActionMenuItemView) findViewById(R.id.my_item_id);
item.setTitle("Test String");
and get the error
ActionMenuItemView.setTitle can only be called from within the same library group (groupId=com.android.support)
I use the Android SDK 27 with Java 8 support activated. All related issues I found were bugs in previous releases of older Android versions. But I use the latest one.
The app runs though anyway. But how to get rid of that error without only suppressing it?
this link
helped me out.
It seems that the FloatingActionButton was move to a new package and now uses the .show() and .hide() methods instead of setVisibility().
The post applies to Kotlin, but the method names are the same for Java.
Hope this helps someone out there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With