From 9a893c7c280b0d7bbab88594485efa8921013f3c Mon Sep 17 00:00:00 2001 From: DINILRAJ T R Date: Wed, 21 Apr 2021 18:41:28 +0800 Subject: [PATCH] update README.md. --- README.md | 44 +++++++++++++++++++------------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 9d81b59..0f5caec 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 -- Gitee