i have a RecyclerView.Adapter class. and i want cast it to ListAdapter but (returns error (Can not cast)) ``` public void setAdapter() { RecyclerAdapter adapter = new RecyclerAdapter(context); cv.setAdapter((ListAdapter) adapter); } ``` please help !
i have a RecyclerView.Adapter class. and i want cast it to ListAdapter
but (returns error (Can not cast))
please help !