- 博客(8)
- 收藏
- 关注
原创 XXRecyclerView
public class HomePageFragment extends Fragment implements BaseView { private XRecyclerView xRexycle; private HomePageAdapter homePageAdapter; private List<BaseBean> baseBeanList=new...
2019-05-05 22:11:51 127
原创 简单搜索
mvpmodelMainModelpublic interface MainModel { interface CallBackListener{ void success(Object data); void fail(Object error); } void get(CallBackListener listener...
2019-05-05 22:02:58 215
原创 购物车加减MVP UI
mvpapi 包下的网络接口Apipublic class Api { public static final String urlSTRING = "http://172.17.8.100/"; public static final String searchSTRING = "small/commodity/v1/findCommodityByKeywor...
2019-04-07 11:35:43 152
原创 MVP greenDao
MainAcitvty 用来视图展示public class MainActivity extends AppCompatActivity implements ShowContract.ShowView { private RecyclerView RecyView; private ShowPresenter showPresenter; private Sho...
2019-03-18 07:56:38 171
原创 主页面中的MainActivity 中的倒计时
package com.example.z0116;import android.annotation.SuppressLint;import android.content.Intent;import android.os.Handler;import android.os.Message;import android.support.v7.app.AppCompatActivity;...
2019-01-20 19:02:40 318
原创 utitls 包下的 NetWordUtils 网络加载
public class NetWorkUtils {public static String getNetGson(String urlString) { try { URL url = new URL(urlString); HttpURLConnection urlConnection = (HttpURLConnection) url.openC...
2019-01-20 18:59:24 135
原创 倒计时
package com.example.zhangshilong20190115;import android.content.Intent;import android.os.Handler;import android.os.Message;import android.support.v7.app.AppCompatActivity;import android.os.Bundle...
2019-01-20 18:49:49 97
原创 openHelper中的创建表
public class OpenHelper extends SQLiteOpenHelper {public OpenHelper(Context context) {super(context, “news.db”, null, 1);}@Overridepublic void onCreate(SQLiteDatabase db) { db.execSQL("create...
2019-01-20 18:43:48 242
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人