You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Recently I converted entire project into Androidx which start giving me below error in RecyclerViewHelper class.
mRecycler' is not public in 'androidx.recyclerview.widget.RecyclerView'. Cannot be accessed from outside package
package androidx.support.v7.widget;
import androidx.recyclerview.widget.RecyclerView;
public class RecyclerViewHelper {
public static int convertPreLayoutPositionToPostLayout(RecyclerView recyclerView, int position) {
return recyclerView.mRecycler.convertPreLayoutPositionToPostLayout(position);
}
}
Any other way to access mRecycler and override this error?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
Recently I converted entire project into Androidx which start giving me below error in
RecyclerViewHelper
class.Any other way to access
mRecycler
and override this error?Thanks.
The text was updated successfully, but these errors were encountered: