|
1 | | -[](https://github.com/applibgroup/Instalike/actions/workflows/main.yml) |
| 1 | +[](https://github.com/applibgroup/Instalike/actions/workflows/main.yml) |
2 | 2 | [](https://sonarcloud.io/dashboard?id=applibgroup_Instalike) |
3 | 3 | # InstaLikeView |
4 | 4 |
|
5 | 5 | A HMOS library to add "like" animation similar to instagram. |
6 | 6 |
|
| 7 | +## Source |
| 8 | +Inspired by [KshitijDroid/InstaLikeView](https://github.com/KshitijDroid/InstaLikeView) - version 1.05 |
| 9 | + |
| 10 | +## Feature |
| 11 | +This library provides an animation similar to instagram "like" feature. |
| 12 | + |
7 | 13 | <img src="https://github.com/applibgroup/Instalike/blob/master/screenshots/instalikeview.gif" width="256"> |
8 | 14 |
|
9 | 15 | ## Dependency |
10 | | -1.For using instalike module in sample app, include the source code and add the below dependencies in entry/build.gradle to generate hap/support.har. |
| 16 | +1. For using instalike module in sample app, include the source code and add the below dependencies in entry/build.gradle to generate hap/support.har. |
11 | 17 | ```groovy |
12 | 18 | dependencies { |
13 | 19 | implementation project(':instalike') |
14 | 20 | implementation fileTree(dir: 'libs', include: ['*.har']) |
15 | 21 | testImplementation 'junit:junit:4.13' |
16 | 22 | } |
17 | 23 | ``` |
18 | | -2.For using instalike in separate application using har file, add the har file in the entry/libs folder and add the dependencies in entry/build.gradle file. |
| 24 | +2. For using instalike in separate application using har file, add the har file in the entry/libs folder and add the dependencies in entry/build.gradle file. |
19 | 25 | ```groovy |
20 | 26 | dependencies { |
21 | 27 | implementation fileTree(dir: 'libs', include: ['*.har']) |
@@ -49,7 +55,7 @@ instaLikeView.start(); |
49 | 55 | #### Supported xml attributes: |
50 | 56 | ```xml |
51 | 57 | app:likeSize="$float:instalike_image_size" // Set Like Size (Default 80vp) |
52 | | - app:likeSrc="@drawable/img_burger" // Set Like Drawable |
| 58 | + app:likeSrc="$graphic:img_heart" // Set Like Drawable |
53 | 59 | ``` |
54 | 60 |
|
55 | 61 | #### Other supported methods: |
|
0 commit comments