0

How to achieve image sliding option with page indicator like play store image slider in home page?. I want to achieve the paging indication as same as play store does it home page of play store app . Please find the screenshot for the same .

enter image description here

I don't think Android will go private libraries . I want to use the same what google has used to develop for the same .

Vinodh
  • 5,262
  • 4
  • 38
  • 68

1 Answers1

1

After doing some search I believe all you need is ViewPager and ViewPager.OnPageChangeListener

The dot page indicator could be the page number of drawables. When new page is selected, onPageSelected is called and in there you can set which dot should be enlarged (or replace the drawable with a larger dot) to indicate the current page.

Here is a similar question with some other way of implementation: Android ViewPager with bottom dots

Community
  • 1
  • 1
Peike
  • 727
  • 4
  • 15