Home

Awesome

GridListViewAdapters

Android Arsenal

This libarary enables you to implement GridView like card layout within ListView with added capabilites like Paginations, Addition of Header-Footer Views, also simplifies implemention for both List & Cursor data.

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 linear data to grid alligned Views. The GridListViewAdapters will do most of tedious work for you & all you have to do is create your small modular classes & link them together.

<a href="http://imgur.com/5BhDERl"><img src="http://i.imgur.com/5BhDERl.gif" width='275' height='428' /></a> <a href="http://imgur.com/JOCNAI8"><img src="http://i.imgur.com/JOCNAI8.gif" width='275' height='428' /></a>

Looking for ListView with multiple row-types support, check EasyListViewAdapters.

Features

Adding to your project using gradle

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

Compatibility

Supported Data-types

Note : CursorGridAdapter 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 ListGridAdapter

Check Quick-Usage-Guide

Using CursorGridAdapter

Check Quick-Usage-Guide

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.