horizontal recyclerview android code example
Example 1: linearlayout horizontal in recyclerview
mRecyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, true));
Example 2: how to add recyclerview support in android studio
dependencies {
implementation 'com.android.support:recyclerview-v7:28.0.0'
}