工作笔记 – GRIDVIEW

首先从LAYOUT XML里读取结构配置,然后NEW自己写的GRIDVIEW ADAPTER.

在adapter里,首先从LAYOUT XML里读取ADAPTER的结构配置, 然后最主要的是OVERRIDE getView 这个方法,

例如在ADAPTER的XML里有TEXTVIEW和IMAGEVIEW两个VIEW,那么在GETVIEW方法里,读取结构配置XML后,DYNAMIC的设置这两个值.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s