FlabbyListView
Android library to display a ListView which cells are not rigid but flabby and react to ListView scroll and touch events.
Live Demo
https://play.google.com/store/apps/details?id=com.jpardogo.android.flabbylistview
ViewHolder holder;
if (convertView == null) {
convertView = LayoutInflater.from(mContext).inflate(R.layout.item_list, parent, false);
holder = new ViewHolder(convertView);
convertView.setTag(holder);
} else {
holder = (ViewHolder) convertView.getTag();
}
int color = Color.argb(255, mRandomizer.nextInt(256), mRandomizer.nextInt(256), mRandomizer.nextInt(256));
((FlabbyLayout)convertView).setFlabbyColor(color);
holder.text.setText(getItem(position));
return convertView;
}
Including in your project
-------------------------
You can either add the library to your application as a library project or add the following dependency to your build.gradle:
![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jpardogo.flabbylistview/library/badge.svg)
```groovy
dependencies {
compile 'com.jpardogo.flabbylistview:library:(latest version)'
}
Notes
The iOS version developed by [brocoo][2] is available at [BRFlabbyTable][3]