I want to create horizontal Recycler view with left right pagination like below image :
Asked
Active
Viewed 2,420 times
0
-
you can achieve this 'carousel-layout-with-viewpager' http://www.devexchanges.info/2016/06/carousel-layout-with-viewpager-in.html – AskNilesh Jul 19 '17 at 10:50
-
My issue is pagination I'm currently trying above library – Jul 19 '17 at 11:11
-
which library you are using – AskNilesh Jul 19 '17 at 11:12
-
carousellayoutmanager library compile 'com.azoft.carousellayoutmanager:carousel:1.2.1' – Jul 19 '17 at 11:18
-
try this http://www.devexchanges.info/2016/06/carousel-layout-with-viewpager-in.html – AskNilesh Jul 19 '17 at 11:19
-
@NileshRathod You can refer this link what you need exactly https://github.com/RameshBhupathi/RecyclerViewWithLeftAndRightArrowsExample – Naveen Kumar M Feb 19 '19 at 07:46
1 Answers
0
using Linear Layout Manager You can manage the gravity of recyclerview
recyclerView.setLayoutManager(new LinearLayoutManager(this,LinearLayoutManager.HORIZONTAL, false));

Pritesh - ɐʎıɥpɐΛ ɥsǝʇᴉɹꓒ
- 758
- 1
- 6
- 19
-
-
-
@NileshRathod Sorry but for your all question you can ask a new question. – Pritesh - ɐʎıɥpɐΛ ɥsǝʇᴉɹꓒ Jul 19 '17 at 10:54
-
-
-
Thanks @PriteshVadhiya I am new in android so can u send any demo or snippet for change item position from my activity?? because i stuck on that pagination – Jul 19 '17 at 11:09
-
@SumitBandekar your welcome, this link will be helpful for scrolling https://stackoverflow.com/a/32145850/8164071 – Pritesh - ɐʎıɥpɐΛ ɥsǝʇᴉɹꓒ Jul 19 '17 at 11:17
-
@NileshRathod You can refer this link what you need exactly https://github.com/RameshBhupathi/RecyclerViewWithLeftAndRightArrowsExample – Naveen Kumar M Feb 19 '19 at 07:46