HorizontalListView is an Android ListView widget which scrolls in a horizontal manner (in contrast with the SDK-provided ListView which scrolls vertically).

Overview

HorizontalListView

HorizontalListView is an Android ListView widget which scrolls in a horizontal manner (in contrast with the SDK-provided ListView which scrolls vertically).

Usage

To use in an XML layout: 0. Include The Library into your project 0. Make sure you are running ADT version 17 or greater 0. Add this XML namespace to your layout xmlns:widget="http://schemas.android.com/apk/res-auto" 0. Create the HorizontalListView as com.meetme.android.horizontallistview.HorizontalListView

Example:

<com.meetme.android.horizontallistview.HorizontalListView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:widget="http://schemas.android.com/apk/res-auto"
    android:id="@+id/HorizontalListView"
    android:layout_width="fill_parent"
    android:layout_height="100dp"
    android:divider="#878787"
    widget:dividerWidth="2dp" />

Notice you set the dividerWidth via the XML namespace you just defined as it is a custom attribute. All other attributes can only be set normally via the android namespace.

Known Issues

  • Currently this widget only supports uniform width items. When the item width is not uniform it leads to the UI rendering in inconsistent corrupted states.

Known limitations

  • Does not support trackball/d-pad navigation
  • Does not support scroll bars
  • Does not support header or footer views
  • Does not support disabled items

Contributors

Licenses

This library licensed under the MIT license. This library makes use of code originally developed and licensed by Paul Soucy.

The MIT License Copyright (c) 2011 Paul Soucy ([email protected])
The MIT License Copyright (c) 2013 MeetMe, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
You might also like...
 android custom listview,with interaction pattern load more and pull to refresh to load data  dinamically
android custom listview,with interaction pattern load more and pull to refresh to load data dinamically

The first thing that i have to say is render thanks to johannilsson because all the part of pull to refresh listview is based in the code of his repos

Awesome Listview filter functionality in Android.
Awesome Listview filter functionality in Android.

About Awesome Listview filter functionality in Android. See it in Action: https://www.youtube.com/watch?v=RO54U1ES5CA Listview with beautiful transpar

Bringing extended scrolling features to Android's native ListView and ExpandableListView.
Bringing extended scrolling features to Android's native ListView and ExpandableListView.

About QuickScroll QuickScroll is a library aimed at creating similar scrolling experiences to the native Contacts app's People view. It has the same s

Android ListView with sticky headers

DEPRECATED HeaderListView is deprecated. No new development will be taking place. Quickstart Import the HeaderListView module in your Android Studio p

Simple ListView based Android AccordionView
Simple ListView based Android AccordionView

Android Accordion View Example git pull import to eclipse properties-android uncheck is library run as android application See main.xml. Screenshot L

Android ListView that implements the QuickReturn UI pattern. Written from scratch with focus on performance.
Android ListView that implements the QuickReturn UI pattern. Written from scratch with focus on performance.

QuickReturn Android ListView that implements the QuickReturn UI pattern. Written from scratch with focus on performance. Demo Usage In your build.grad

[] A swipe menu for ListView.
[] A swipe menu for ListView.

SwipeMenuListView A swipe menu for ListView. Demo Usage Add dependency dependencies { compile 'com.baoyz.swipemenulistview:library:1.3.0' } Step 1

Android library to observe scroll events on scrollable views.
Android library to observe scroll events on scrollable views.

Android-ObservableScrollView Android library to observe scroll events on scrollable views. It's easy to interact with the Toolbar introduced in Androi

An android library for section headers that stick to the top
An android library for section headers that stick to the top

StickyListHeaders StickyListHeaders is an Android library that makes it easy to integrate section headers in your ListView. These section headers stic

Comments
  • mRemovedViewsCache is an array that holds views according to position

    mRemovedViewsCache is an array that holds views according to position

    I have changed the mRemovedViewsCache such that it doesn't list views according to its type, but according to the position these views have in the adapter. In this manner the adapter will be provided with the same view, when it is requested from the cache. In the previous arrangement the lifo order of returning views has issues when views of the same type have not yet been created. The array is resized on every onChanged.

    opened by VincentKetelaars 2
  • How to prevent overscrolling?

    How to prevent overscrolling?

    How I can prevent overscrolling of the HorizontalListView? (i.e. The list should go (start)A->B->C->D(end) and not A->B->C->D->A->B(continue etc.))

    opened by weepctxb 0
  • android:listSelector Issue

    android:listSelector Issue

    Hi @MeetMe

    i have an issue on adding android:listSelector in HorizontalListView, how can i set android:listSelector basic property of ListView in HorizontalListView,

    What i want : i just make selector for list item highlighter, how is it possible.

    Thanks.

    opened by GauravCreed 1
  • HorizontalListView 's  parent view is Listview,When HorizontalListView sliding,don't let the Listview sliding?

    HorizontalListView 's parent view is Listview,When HorizontalListView sliding,don't let the Listview sliding?

    HorizontalListView 's parent view is Listview,When HorizontalListView sliding,don't let the Listview sliding? Because my Listview supports pull up refresh ,When HorizontalListView sliding ,I don't want the Listview refresh .

    opened by xiaojidonggong 0
Owner
MeetMe
MeetMe
Horizontal list view for Android which allows variable items widths

Deprecated This widget is now deprecated and it won't be updated anymore. Use RecyclerView instead Horizontal Variable ListView Horizontal ListView fo

Alessandro Crugnola 862 Nov 15, 2022
Android widget with pull to refresh for all the views,and support loadMore for ListView , RecyclerView, GridView and SwipeRefreshLayout.

CommonPullToRefresh Android widget with pull to refresh for all the views,and support loadMore for ListView,RecyclerView,GridView and SwipeRefreshLayo

null 1.1k Nov 10, 2022
Android library to display a ListView whose cells are not rigid but flabby and react to ListView scroll.

FlabbyListView This library is not maintained anymore and there will be no further releases Android library to display a ListView which cells are not

JPARDOGO 762 Nov 23, 2022
This project aims to provide a reusable pull to refresh widget for Android.

Pull To Refresh for Android Note This library is deprecated, a swipe refresh layout is available in the v4 support library. This project aims to provi

Johan Berg 2.5k Jan 2, 2023
An easy to use Drag & Drop List for Android. Direct replacement of the android ListView.

DragNDropListView DragNDropListView is a direct replacement for the stock Android ListView. If you know how to use ListView, you already know how to u

null 187 Dec 22, 2022
Easy to use ListView with pinned sections for Android.

Easy to use ListView with pinned sections for Android 2.1 and higher. Pinned section is a header view which sticks to the top of the list until at lea

Sergej Shafarenka 2.6k Dec 21, 2022
An Android custom ListView and ScrollView with pull to zoom-in.

PullZoomView An Android custom ListView and ScrollView with pull to zoom-in. Features Set ZoomView enable Add HeaderView Custom ZoomView Parallax or N

Frank-Zhu 2.3k Dec 26, 2022
A ListView with pinned section headers for Android

PinnedHeaderListView This library provides a sectioned ListView with pinned headers. It looks and feels much like the default contacts app does on And

James Smith 665 Nov 29, 2022
A generic, customizable, open source Android ListView implementation that has 'Pull to Refresh' functionality.

Android 'Pull to Refresh' ListView library Demo video: http://www.youtube.com/watch?v=VjmdELnm3GI Project A generic, customizable, open source Android

Erik Wallentinsen 639 Nov 17, 2022
Parallax ScrollView and ListView for Android

Parallax Scrolls Parallax ListView and ScrollView for Android This project includes ScrollView with one or more parallaxed views ListView with paralla

Nir Hartmann 851 Dec 3, 2022