Home > Enterprise >  Implement horizontal recyclerview like instagram story effect listing
Implement horizontal recyclerview like instagram story effect listing

Time:07-19

Can anyone have idea to how to implement horizontal recyclerview like Instagram create story screen effect listing from camera.? Shown in below image.

Please check this reference screen shot

CodePudding user response:

You can use RecyclerView and when creating LayoutManager you need to select Horizontal option

RecyclerView recyclerView = findViewById(R.id.recycler_view);
recyclerView.setAdapter(adapter); //your adapter
recyclerView.setLayoutManager(new LinearLayoutManager(this, RecyclerView.HORIZONTAL, false));
  • Related