Recently i've been getting a lint error on my usage of android.support.v7.view.menu.MenuPopupHelper which is now hidden and restricted to be only used within its library group.
Exact message:
MenuPopupHelper constructor can only be called from within the same library group (groupId=com.android.support)
Excerpt from the MenuPopupHelper.java class:
/**
 * Presents a menu as a small, simple popup anchored to another view.
 *
 * @hide
 */
@RestrictTo(LIBRARY_GROUP)
public class MenuPopupHelper implements MenuHelper {
Question: Any idea when and why this happened ? or whats the workaround that I should look for ?