There are problems when trying to create an adapter for RecyclerView :
public class FavoriteAdapter extends RecyclerView.Adapter<FavoriteAdapter.ViewHolder> In this line, the ViewHolder causes the error: cannot resolve symbol "ViewHolder"
There are problems when trying to create an adapter for RecyclerView :
public class FavoriteAdapter extends RecyclerView.Adapter<FavoriteAdapter.ViewHolder> In this line, the ViewHolder causes the error: cannot resolve symbol "ViewHolder"
In your adapter class FavoriteAdapter , the ViewHolder class should be described, which extends the abstract class RecyclerView.ViewHolder
Source: https://ru.stackoverflow.com/questions/825770/
All Articles