摘要:
1.解析json数据:public class PhotosData { public int retcode; public PhotosInfo data; public class PhotosInfo { public String title; public ArrayList news; } public class PhotoInfo { public String id; ... 阅读全文
摘要:
布局: 2.新闻详情页public class NewsDetailActivity extends Activity implements OnClickListener { private WebView mWebView; private ImageButton btnBack;//... 阅读全文
摘要:
下拉刷新、加载更多、标记已读、轮播条、缓存下拉刷新------- 1.addHeaderView必须在setAdapter之前调用 2.将paddingTop设置一个headerView高度的负值去隐藏它 getHeight()和getMeasuredHeight()的区别: getMeasuredHeight():获取测量完的高度,只要在onMeasure方法执行完,就可以用 ... 阅读全文