Skip to content

Instantly share code, notes, and snippets.

@Badranh
Created June 30, 2019 15:40
Show Gist options
  • Save Badranh/a78f073fe4b3535f0a24fc0ba176b15b to your computer and use it in GitHub Desktop.
Save Badranh/a78f073fe4b3535f0a24fc0ba176b15b to your computer and use it in GitHub Desktop.
Interface to be implemented in the class where binding of the generic Recycler View Cells will occur
public interface BaseViewHolder {
interface Binder<T>{
void bindViewHolders(T viewHolder,int pos);
int getViewHoldersCount();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment