Karumi / Karumi/HeaderRecyclerView

Bind methods should use the generic type declared in the class to avoid downcasting

Open
#2 4 comments 0 reactions 1 assignee Claimed by @flipper83 View on GitHub
enhancement
Dominant language
Java
Stars
495
Forks
65
PR merge metrics
No merged PRs in 30d

Description

With the current implementation you have to downcast the view holder to be albe to use it inside bind methods. We should parametrize the class with generics to avoid that downcast.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.