Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/Users/johnpilczak/Projects/SimpleWear/SimpleWear/obj/Debug/android/src/md5518e7c0d8b632d9833da04983235e87d/listTestAdapter.java(8,8): Error: error: listTestAdapter is not abstract and does not override abstract method onBindViewHolder(ViewHolder,int) in Adapter
public class listTestAdapter
(SimpleWear)
/Users/johnpilczak/Projects/SimpleWear/SimpleWear/obj/Debug/android/src/md5518e7c0d8b632d9833da04983235e87d/listTestAdapter.java(59,59): Error: error: onCreateViewHolder(ViewGroup,int) in listTestAdapter cannot override onCreateViewHolder(ViewGroup,int) in Adapter
public android.support.v7.widget.RecyclerView.ViewHolder onCreateViewHolder (android.view.ViewGroup p0, int p1)
return type android.support.v7.widget.RecyclerView.ViewHolder is not compatible with android.support.wearable.view.WearableListView.ViewHolder
where VH is a type-variable:
VH extends android.support.v7.widget.RecyclerView.ViewHolder declared in class Adapter
(SimpleWear)
/Users/johnpilczak/Projects/SimpleWear/SimpleWear/obj/Debug/android/src/md5518e7c0d8b632d9833da04983235e87d/listTestAdapter.java(14,14): Error: error: name clash: onBindViewHolder(ViewHolder,int) in listTestAdapter and onBindViewHolder(VH,int) in Adapter have the same erasure, yet neither overrides the other
public void onBindViewHolder (android.support.v7.widget.RecyclerView.ViewHolder p0, int p1)
where VH is a type-variable:
VH extends ViewHolder declared in class Adapter
(SimpleWear)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.