-
(高仿)今日头条 网易 新闻客户端 源码 完善版
已经是一个完整的客户端了,在将进一步优化完善后就和可以了。大体描述: 上次,已经完成了头部新闻分类栏目的拖动效果。 这篇文章是继续去完善APP 今日头条 这个新闻阅读器的其他功能。 这次所实现的功能清单: 1.通过SlidingMenu实现左右侧拉菜单效果 2.通过重写CompoundButton实现--昼夜模式切换按钮效果。 3.通过PopupWindow控件实现了列表中更多菜单弹框操作效果。 4.通过universal-image-loader库实现了图片的加载和缓存。 5.通过列表中各个属性的判断,实现了头条新闻列表的相应布局和显示效果。
- 2014-11-19下载
- 积分:1
-
android应用(调用本地 html5) DroidGap示例源码
android应用(调用本地 html5) DroidGap示例源码
- 2014-07-24下载
- 积分:1
-
android wifi设置静态ip 实例源码下载
android wifi设置静态ip 实例源码下载
- 2014-08-29下载
- 积分:1
-
乱码
乱码
- 2013-12-30下载
- 积分:1
-
JavaEE网上书店源码(含数据库脚本)
包括前台 后台 能够实现用户购买图书,查看购物车,清空购物车,结算,查看订单等功能。 后台管理员可以查看订单,并修改订单状态,可以上架新图书,可以修改图书信息,增加或修改图书分类等。。 运行环境:myeclipse MySQL Tomcat
- 2018-06-12下载
- 积分:1
-
android 异步 执行 任务 例子 附讲解
Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(), objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute() doInBackground() onProgressUpdate() onPostExecute() onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else { //continue... } See this Image For more Clear.
- 2013-07-05下载
- 积分:1
-
android 线性布局新手入门例子
android 线性布局新手入门例子
- 2015-03-19下载
- 积分:1
-
电商模版代码
电商模版代码
- 2014-01-05下载
- 积分:1
-
最近公司在做即时通讯 仿微信 QQ的
最近公司在做即时通讯 仿微信 QQ的
- 2014-10-17下载
- 积分:1
-
android 右侧字母列表 abcde.... 放微信联系人
android 右侧字母列表 abcde.... 放微信联系人
- 2015-01-20下载
- 积分:1