- 博客(16)
- 收藏
- 关注
原创 Retrofit网络请求框架
Show展示页面package com.example.xsxerdiyiz.activity;import android.os.Bundle;import android.support.annotation.NonNull;import android.support.design.widget.BottomNavigationView;import android.support...
2019-02-18 08:17:00
170
原创 电商小项目
首页fragment.xml<?xml version="1.0" encoding="utf-8"?><com.jcodecraeer.xrecyclerview.XRecyclerView android:id="@+id/xrec" android:layout_width="match_parent" android:layout_h...
2019-01-20 09:44:00
429
原创 第三方
QQ友盟登入1.拷贝demo中的libs文件夹和res文件夹;右击 add as library2.Application添加如下代码:UMConfigure.init(this,“5c089159b465f59767000066”,“小米”,UMConfigure.DEVICE_TYPE_PHONE,"");/**设置组件化的Log开关参数: boolean 默认为false,如...
2019-01-14 08:29:44
293
原创 MVP左右联动
属性动画XML<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android=“http://schemas.android.com/apk/res/android”xmlns:app=“http://schemas.android.com/ap...
2019-01-07 08:25:19
105
原创 MVP
分包activitypackage com.example.laiixnimvp.activity;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.support.v7.widget.LinearLayoutManager;import android.su...
2019-01-01 20:33:34
177
原创 数据库+PullToRefreshListView
跳过XML<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android=“http://schemas.android.com/apk/res/android”xmlns:app=“http://schemas.android.com/apk/...
2018-12-21 08:15:04
139
原创 抽基类与PullToRefreshListView
主页面XML<?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.DrawerLayout xmlns:android=“http://schemas.android.com/apk/res/android”xmlns:app=“http://schemas.android.com/apk/res-...
2018-12-16 20:10:09
166
原创 多条目判断
user类package com.example.lainfex;import java.util.List;public class User {private String msg;private int code;private List data;public String getMsg() { return msg;}public void setMsg(St...
2018-12-09 21:02:42
140
原创 侧滑与fragment联动
主页面xml页面<?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.DrawerLayout xmlns:android=“http://schemas.android.com/apk/res/android”xmlns:app=“http://schemas.android.com/apk/re...
2018-12-08 10:57:14
221
原创 数据库studio
数据库package com.example.zkmoni;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import android.database.sqlite.SQLiteOpenHelper;public class Sqlter extends SQLiteOpenHe...
2018-12-02 19:44:05
340
原创 AsyncTask
package com.example.xing;import android.os.AsyncTask;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.widget.ListView;import com.google.gson.Gson;import ja...
2018-11-30 08:24:56
90
原创 HTTP
package com.example.day2;import android.annotation.SuppressLint;import android.os.Handler;import android.os.Message;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;impor...
2018-11-28 20:58:40
649
原创 angularjs增删改查
--请选择-- 价格正序 价格倒序 日期正序 日期倒序 {{t.sname}} {{t.fname}} {{t.time}} {{t.fprice|curre...
2018-09-24 19:00:07
227
原创 模拟san
document.addEventListener('plusready', function(){**重点内容**列表内容 //console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。"}); *{ ...
2018-09-16 19:19:15
322
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人