PinterestLikeAdapterView下载后当成库引入,然后就可以像使用普通ListView控件一样使用了。
步骤1,写适配器,继承BaseAdapter和自己的布局文件。
步骤3,Activity的布局文件
<com.huewu.pla.lib.MultiColumnPullToRefreshListView
android:id="@+id/list_warterfall"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</com.huewu.pla.lib.MultiColumnPullToRefreshListView>
步骤3,像普通ListView一样使用PinterestLikeAdapterView。
public MultiColumnPullToRefreshListView waterfallView;