Home

Awesome

EasyListViewAdapters

Android Arsenal

Whenever you want to display custom items in listview, then only way to achieve this is to implement your own subclass of BaseAdapter, handle all rendering, recycling, click handling ,data browsing youself in getView() method. It becomes very messy as number of rows increase in your adapter, Making your code very messy & non-reusable. This library allows you to make Modular classes which will help you to introduce new row type easily.

This library is designed on [ViewHolder] (http://developer.android.com/training/improving-layouts/smooth-scrolling.html#ViewHolder) design pattern, it provides an easier way of linking multiple type rows and their underlying data. The EasyAdapters will do most of tedious work for you & all you have to do is create your small modular classes & link them together.

Looking for GridView like card support within your ListView (with added capabilities), check GridListViewAdapters.

Features

Adding to your project using gradle

repositories {
    maven {
        url "https://dl.bintray.com/birajpatel/easylistviewadapters/"
    }
}
compile 'com.birin:easylistviewadapters:1.0.0'

Compatibility

Supported Data-types

Note : EasyCursorAdapter doesn't provide any mechanism to requery attached Cursor (Like traditional CursorAdapter), This behaviour is intentionally omitted as it has been deprecated from Android Sources as well.Instead use CursorLoader Mechanism.

Using EasyListAdapter

Check Quick-Usage-Guide

Using EasyCursorAdapter

Check Quick-Usage-Guide

Sample-App screenshots

<table align= 'center' border = "0"> <tr> <td><img src='./Extras/Images/Screenshots/2.png' width='190' height='288' /></td> <td><img src='./Extras/Images/Screenshots/3.png' width='190' height='288' /></td> <td><img src='./Extras/Images/Screenshots/4.png' width='190' height='288' /></td> </tr> <tr> <td align = 'center' >EasyListAdapter</td> <td align = 'center'>EasyCursorAdapter</td> <td align = 'center'>Demo Screen</td> </tr> </table>

How to understand Sample-App

<img src='./Extras/Documentations/steps.png' width='300' height='432' />

Progaurd

No need to add any extra config.

Debugging

See the Debugging Exceptions to know about all Exceptions thrown by library & how to fix them.

License

Copyright 2014-present Biraj Patel

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.