This project is a suite of libraries for Android.
This library is built on top of the AndroidX AppCompat library.
It can be included with the following dependencies:
implementation("com.kfaraj.support:appcompat:4.0.0")
This library is built on top of the AndroidX RecyclerView library.
It can be included with the following dependencies:
implementation("com.kfaraj.support:recyclerview:3.0.14")
It adds support for empty view, item click and choice mode to the following classes:
val recyclerView = SupportRecyclerView(context)
recyclerView.emptyView = emptyView
recyclerView.onItemClickListener = onItemClickListener
recyclerView.onItemLongClickListener = onItemLongClickListener
recyclerView.choiceMode = choiceMode
recyclerView.multiChoiceModeListener = multiChoiceModeListener
<com.kfaraj.support.widget.SupportRecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:choiceMode="singleChoice" />
This sample app demonstrates how to use the RecyclerView library.