twotoasters / JazzyListView

Apache License 2.0
934 stars 310 forks source link

problem with setAdapter #47

Open Hitexroid opened 8 years ago

Hitexroid commented 8 years ago

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 !