Android Stacklayout

Custom ViewGroup of which the top element can be swept away.
Alternatives To Android Stacklayout
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Shimmerrecyclerview3,458
3 years ago13otherKotlin
All Base Adapter528
6 years ago5apache-2.0Java
Adapter terminator, including DataBinding, any ViewGroup, list(Rv, Lv ). Write Adapter, it is enough .Adapter终结者,包含DataBinding,任意ViewGroup,Rv、Lv列表。写Adapter,有它就够了
Adapterlayout57
3 years ago2apache-2.0Kotlin
ViewGroup backed by RecyclerView.Adapter = magic
Universaladapter53
8 years agoapache-2.0Java
A single adapter implementation for any scrolling view or ViewGroup.
Adapter Databinding11
3 years agoapache-2.0Kotlin
adapter-databinding
Xebicon 2013__cc In Aa9
10 years agoJava
A demonstration of the "Custom ViewGroup" advice given during the Clean Code in Android Apps talk of XebiCon 2013.
Listview3
7 years agoJava
a samples of ListView
Android Stacklayout2
9 years agomitJava
Custom ViewGroup of which the top element can be swept away.
Gsectioned Recyclerview2
4 years agomitKotlin
Biblioteca criada de modo a facilitar a criação de um RecyclerView com seções, algo muito comum em diversas aplicações.
Simplemvp_android2
5 years agoJava
Alternatives To Android Stacklayout
Select To Compare


Alternative Project Comparisons
Readme

Android StackLayout

Custom ViewGroup of which the top element can be swept away in all directions.

Attributes

Name Format Description
infinite boolean If true swept views will be added back to the bottom of the stack, otherwise they are removed entirely.

To use these attributes the following attribute must also be set on the root element of the XML layout: xmlns:custom="http://schemas.android.com/apk/res-auto"

Public Methods

Returns Method Description
void setAdapter(Adapter adapter) Sets the Adapter used to provide the data which backs this Stack.
void setListener(StaskListener listener) Register callbacks to be invoked when swipes and hovers occur.

Example

<red.rabbit.stack.StackLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    custom:infinite="true" >

    <View
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#cc0000" />

    <View
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#00cc00" />

    <View
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#0000cc" />

</red.rabbit.stack.StackLayout>
Popular Viewgroup Projects
Popular Adapter Projects
Popular User Interface Components Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Adapter
Viewgroup