An open API service indexing awesome lists of open source software.

https://github.com/ngsilverman/android-stacklayout

Custom ViewGroup of which the top element can be swept away.
https://github.com/ngsilverman/android-stacklayout

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

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

```xml

```