Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
amarjain07 committed Dec 30, 2021
1 parent 80e8825 commit b21ccf8
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# StickyScrollView
Sticky header and footer for android ScrollView.

### UPDATE

Migrated to Kotlin
Fix : Scroll Issue with RecyclerView
[![](https://jitpack.io/v/amarjain07/StickyScrollView.svg)](https://jitpack.io/#amarjain07/StickyScrollView)

### Install

Expand All @@ -19,45 +16,42 @@ Add jitpack to your root `build.gradle`
```

Add the dependency
```
```groovy
dependencies {
implementation 'com.github.amarjain07:StickyScrollView:1.0.2'
implementation 'com.github.amarjain07:StickyScrollView:<latest-version>'
}
```

### Usage
```
```xml
<com.amar.library.ui.StickyScrollView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="match_parent"
app:stickyHeader="@+id/titleLayout"
  app:stickyFooter="@+id/buttonLayout">
app:stickyFooter="@+id/buttonLayout">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/titleLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:id="@+id/titleLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
...
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/buttonLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
...
</LinearLayout>
</LinearLayout>
...
</LinearLayout>
</com.amar.library.ui.StickyScrollView>
```

### Demo
![StickyScrollViewGif](demo/StickyScroll.gif)


License
-------

Expand Down

0 comments on commit b21ccf8

Please sign in to comment.