A smooth and simple horizontal recycler view with a little bit of animations.
Here are two screenshots how it looks in use. You can use it however you like it .
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
implementation 'com.github.HridaySarma:SmoothRecyclerView:1.0.0'
<com.main.smoothrecyclerview.SmoothRecyclerView
android:id="@+id/rview"
android:layout_width="match_parent"
android:layout_height="match_parent">
private SmoothRecyclerView smoothRecyclerView;
smoothRecyclerView = findViewById(R.id.rview);
smoothRecyclerView.setAdapter(new Adapter(this,this));
smoothRecyclerView.setOnItemSelectedListener(new SmoothRecyclerLayoutManager.OnSelected() {
@Override
public void onItemSelected(int position) {
}
});
// Setting up adapter is the same as in a normal recycler view.
// The adapter code can be found in the sample app.