mirror of
https://github.com/alibaba/Tangram-Android.git
synced 2026-10-17 05:07:05 +08:00
4b4a1a17548eb97622daea191ec21aa09cdc308f
Tangram for Android
Tangram is a framework to build native page dynamically based on RecyclerView. It treats a page as structured by a series of card and cell, renders and updates the page's UI by card and cell's data description.
Features
- Two platform support (iOS & Android, See [Tangram-iOS]https://github.com/alibaba/Tangram-iOS() in Github for iOS Version)
- Fast Generate View by JSON Data , provide default parser.
- Easily control the reuseability of views
- Provide multiple Built-in layouts
- Custom layout style (by JSON Data or code)
- High performance (Base on vlayout)
- Extendable API
demo
Basic Concepts
- Card, a group of cells, is responsible for layouting child cells.
- Cell, smallest business UI element, like an item in RecyclerView.
Default cards
- Flow Card(like grid)
- Linear Card
- Fix Card
- Scroll Fix Card
- Sticky Card
- One drag N Card
- Page Scroll Card
- Water Flow Card
- Dragable Card
Get started
See details at Tutorial.
Tangram Documents
See complete documents here.
LICENSE
Tangram is available under the MIT license.
Languages
Java
100%
