All Projects → jpardogo → Flabbylistview

jpardogo / Flabbylistview

Licence: apache-2.0
Android library to display a ListView whose cells are not rigid but flabby and react to ListView scroll.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Flabbylistview

Stickyheaderlistview
打造炫酷列表之 StickyHeaderListView:标题渐变、吸附悬浮、筛选分类、动态头部等
Stars: ✭ 2,820 (+269.11%)
Mutual labels:  listview
Cadar
Android solution which represents month and list calendar views.
Stars: ✭ 360 (-52.88%)
Mutual labels:  listview
React Native Ultimate Listview
A high performance FlatList providing customised pull-to-refresh | auto-pagination & infinite-scrolling | gridview layout | swipeable-row.
Stars: ✭ 497 (-34.95%)
Mutual labels:  listview
React Native Pagination
Animated Pagination For React Native's ListView, FlatList, and SectionList
Stars: ✭ 296 (-61.26%)
Mutual labels:  listview
Recyclerlistview
High performance listview for React Native and web!
Stars: ✭ 4,033 (+427.88%)
Mutual labels:  listview
Adapter
A quick adapter library for RecyclerView, GridView, ListView, ViewPager, Spinner
Stars: ✭ 376 (-50.79%)
Mutual labels:  listview
Flutter Ui Nice
More than 130+ pages in this beautiful app and more than 45 developers has contributed to it.
Stars: ✭ 3,092 (+304.71%)
Mutual labels:  listview
React Native Sortable List
React Native Sortable List component
Stars: ✭ 678 (-11.26%)
Mutual labels:  listview
Brv
Android上最强大的RecyclerView库
Stars: ✭ 345 (-54.84%)
Mutual labels:  listview
React Virtualized
React components for efficiently rendering large lists and tabular data
Stars: ✭ 22,963 (+2905.63%)
Mutual labels:  listview
Boardview
A draggable boardview for java android (Kanban style)
Stars: ✭ 309 (-59.55%)
Mutual labels:  listview
Giraffeplayer2
out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)
Stars: ✭ 344 (-54.97%)
Mutual labels:  listview
React Gridlist
A virtual-scrolling GridList component based on CSS Grids
Stars: ✭ 394 (-48.43%)
Mutual labels:  listview
Flutter Layouts Exampls
Layout of the flutter example.such as Row,Comlun,listview,Just for learning.
Stars: ✭ 292 (-61.78%)
Mutual labels:  listview
Slideanddraglistview
➰SlideAndDragListView (SDLV) is an extension of the Android ListView that enables slide and drag-and-drop reordering of list items.
Stars: ✭ 516 (-32.46%)
Mutual labels:  listview
Inview notifier list
A Flutter package that builds a list view and notifies when the widgets are on screen.
Stars: ✭ 269 (-64.79%)
Mutual labels:  listview
Imageviewer
🔮图片浏览器,支持图片手势缩放、拖拽等操作,`自定义View`的模式显示,自定义图片加载方式,更加灵活,易于扩展,同时也适用于RecyclerView、ListView的横向和纵向列表模式,最低支持版本为Android 3.0及以上...
Stars: ✭ 363 (-52.49%)
Mutual labels:  listview
React Native Sglistview
SGListView is a memory minded implementation of React Native's ListView
Stars: ✭ 745 (-2.49%)
Mutual labels:  listview
Superadapter
[Deprecated]. 🚀 Adapter(BaseAdapter, RecyclerView.Adapter) wrapper for Android. 一个Adapter同时适用RecyclerView、ListView、GridView等。
Stars: ✭ 638 (-16.49%)
Mutual labels:  listview
Phoenix
Phoenix Pull-to-Refresh
Stars: ✭ 4,048 (+429.84%)
Mutual labels:  listview

FlabbyListView

This library is not maintained anymore and there will be no further releases

Android library to display a ListView which cells are not rigid but flabby and react to ListView scroll and touch events.

A video example of this library is on this youtube video.
And I also wrote a blog post about this library in my blog

Usage

1.Place the FlabbyListView on your layout:

    <com.jpardogo.android.flabbylistview.lib.FlabbyListView
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@android:id/list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

2.Populate it with items which xml layout is wrap by a FlabbyLayout:

    <!--Notice that this view extends from <FrameLayout/>.-->
    <com.jpardogo.android.flabbylistview.lib.FlabbyLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/apk/tools"
        android:layout_width="match_parent"
        android:layout_height="100dp"
        android:orientation="vertical">

        <!--Your content-->

    </FlabbyLayout>

3.Set the color of each item. It needs to be set on the getView method of your adapter calling setFlabbyColor from FlabbyLayout:

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        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

dependencies {
    compile 'com.jpardogo.flabbylistview:library:(latest version)'
}

Notes

The iOS version developed by brocoo is available at BRFlabbyTable

Developed By

Javier Pardo de Santayana Gómez - [email protected]

Follow me on Twitter Follow me on Google+ Follow me on LinkedIn

License

Copyright 2013 Javier Pardo de Santayana Gómez

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].