SkillAgentSearch skills...

Easyadapter

universal adapter implementation to avoid duplication made ​​similar wheels. Can be used directly inherited AbsListView of View (GridView, ListVIew).

Install / Use

/learn @gold-duo/Easyadapter
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Easyadapter

1 universal adapter implementation to avoid duplication made ​​similar wheels. Can be used directly inherited AbsListView of View (GridView, ListVIew).

2 ListView row abstract UI structure (GridView grid UI). The focus of concerns to the line UI structure, easy diverse and complex line UI (grid UI), but also through an object-oriented inheritance to reuse UI.

3 shows a view can be flexible UI in each row according to the current gesture. For example, do not show pictures when FLING, not registered in the SCROLL when OnClickListener so.

  1. Welcome to download the following example easyadapter-sample

easyadapter 简介

  1. 通用的adapter实现,避免重复造类似的轮子。可直接用于继承AbsListView的View(GridView、ListVIew)。

  2. 抽象出ListView行UI构造(GridView格子UI)。将关注点聚焦到行UI的构造,轻松实现多样复杂的行UI(格子UI),而且还可以通过面向对象的继承方式来复用UI。

  3. 在每行UI中可以灵活的根据当前手势展示视图。比如在FLING时不显示图片、在SCROLL时不注册OnClickListener等等。

  4. 欢迎下载下面的示例easyadapter-sample

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated9y ago
Forks3

Languages

CSS

Security Score

70/100

Audited on Nov 17, 2016

No findings