Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.12 KB

Horizontal Variable ListView

Description

Horizontal list view for Android which allows variable items widths.

Features

  • It extends the AdapterView in order to give the full support to adapters.

  • Customizable left and right edges. A left and right edge glow effect will be shown when the list reaches one of the edges. It can be enabled by setting the overscroll mode to OVER_SCROLL_ALWAYS:

      list.setOverScrollMode( View.OVER_SCROLL_ALWAYS );
    
  • It supports multiple items type. Just override the getViewTypeCount() in your adapter. Each item (by type) can have a different width.

  • It uses a recycler in order to reuse recycled items instead of creating new ones every time.

Example

See the Demo MainActivity for a working sample.

License

This software is distributed under the MIT License: http://opensource.org/licenses/MIT


Author Alessandro Crugnola