diff --git a/README.md b/README.md index 9d81b593177044f78fbd76cd706d8c8524f14039..0f5caecc465985fea27460e51c64501c6cbadcdc 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,13 @@ -ViewPagerIndicator -================== +## ViewPagerIndicator +## Introduction Paging indicator widgets that are compatible with the `PageSlider` from openharmony to improve discoverability of content. -gradle -======================== - ``` - allprojects{ - repositories{ - mavenCentral() - } - } - implementation 'io.openharmony.tpc.thirdlib:viewpagerindicator:1.0.0' - ``` +## Usage Instructions -Original version details -======================== - -Original version path: https://github.com/JakeWharton/ViewPagerIndicator - -# Features - -Added Support for +Can be used to create PageSlider with below set of types. - Circles - Default @@ -62,13 +46,23 @@ Added Support for - With Listener - -Following feature is not supported due to API limitation +## Installation instruction +Solution 1: local har package integration +Add the .har package to the lib folder. +Add the following code to the gradle of the entry: +implementation fileTree(dir: 'libs', include: ['.jar', '.har']) + +Solution 2: Add following dependencies in your build.gradle: + +allprojects { + repositories { + mavenCentral() + } +} +implementation 'io.openharmony.tpc.thirdlib:viewpagerindicator:1.0.0' -- Circles, Lines, Tabs, Tiltes, Under Lines - - Styled Via Themes -# Licence +## Licence ----------------------------------------------------------------------- Copyright 2012 Jake Wharton Copyright 2011 Patrik Ã…kerfeldt