摘要: public class XListViewFooter extends LinearLayout { public final static int STATE_NORMAL = 0; public final static int STATE_READY = 1; public final st 阅读全文
posted @ 2018-04-22 20:45 失落的城市 阅读(76) 评论(0) 推荐(0)
摘要: public class XListViewHeader extends LinearLayout { private LinearLayout mContainer; private ImageView mArrowImageView; private ProgressBar mProgressB 阅读全文
posted @ 2018-04-22 20:44 失落的城市 阅读(115) 评论(0) 推荐(0)
摘要: public class MainActivity extends AppCompatActivity {String urldata="http://api.tianapi.com/huabian/?key=48a7d7193e11bd2dd4a683b6e2f90a4f&num=10"; pri 阅读全文
posted @ 2018-04-22 19:48 失落的城市 阅读(156) 评论(0) 推荐(0)
摘要: public class XListView extends ListView implements OnScrollListener { private float mLastY = -1; // save event y private Scroller mScroller; // used f 阅读全文
posted @ 2018-04-22 19:47 失落的城市 阅读(139) 评论(0) 推荐(0)