ListView that grows its height based on chlid height and count.
Step 1: Add to project level build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2: Add to app level build.gradle
dependencies {
implementation 'com.github.u-barnwal:NonScrollListView:VERSION'
}
Step 1: Create view
<com.isolpro.library.nonscrolllistview.NonScrollListView
android:layout_width="match_parent"
android:layout_height="wrap_content" />
Step 2: Use it like a normal ListView
- Used exactly like ListView
- Can be used inside a ScrollView
- Support all list adapters
- Fully adaptive
- Live example: https://transactionslistlite.isolpro.in