Home

Awesome

Android Arsenal

Overview

Alt

BaseAdapterHelper aims to make BaseAdapter's getView() method much more readable, getting rid of the ViewHolder pattern boilerplate code.

QuickAdapter allows you to shorten the code of most usual BaseAdapter, taking care of implementing everything for you based on your data list. You only need to focus on the mapping between your view and your model.

Get it

BaseAdapter Helper is now available on Maven Central.

<dependency>
  <groupId>com.joanzapata.android</groupId>
  <artifactId>base-adapter-helper</artifactId>
  <version>1.1.11</version>
</dependency>

or

compile 'com.joanzapata.android:base-adapter-helper:1.1.11'

Features

BaseAdapterHelper

QuickAdapter

Overview

Performance

The performances using the BaseAdapter Helper are equivalent to the ones of the ViewHolder pattern. It has been tested on thousands items list of complex item structure with more than 30 views to be adapted on each item, and the getView() method has shown similar execution times.

License

Copyright 2013 Joan Zapata

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.

This project uses Picasso from Square, which is licensed under the same
license as this project. You can find the project page at

    http://square.github.io/picasso/
    
The sample application uses Twitter4j by Yusuke Yamamoto, 
ActionBarSherlock by Jake Wharton, and AndroidAnnotations by Pierre-Yves Ricau, 
all of them being licensed under the Apache license version 2.0.