- 博客(14)
- 收藏
- 关注
原创 流式布局
Activity类: public class SearchActivity extends AppCompatActivity { @BindView(R.id.shuru) EditText shuru; @BindView(R.id.sss) Button sss; @BindView(R.id.liushi) MyView liushi; @Override protected void ...
2019-10-20 19:50:58
139
原创 二级列表(第二个适配器)
package com.bawei.day5.view.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; impor...
2019-08-11 20:17:34
112
原创 二级列表
package com.bawei.day5.view.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.R...
2019-08-11 20:17:03
100
原创 post请求
public class HttpUtils { private static HttpUtils httpUtils; private HttpUtils(){} public static HttpUtils getInstance(){ if (httpUtils==null){ return new HttpUtils(); } return httpUtils; } public voi...
2019-07-30 21:19:18
132
原创 RecycleView
public class MyFragment extends Fragment implements IMainView.ITwoView { private RecyclerView recy1,recy2,recy3; private List<Bean.ResultBean.MlssBean.CommodityListBeanXX> list1; private List<...
2019-07-30 21:18:10
88
原创 Webview
btn = inflate.findViewById(R.id.btnn); web = inflate.findViewById(R.id.web); btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { web.loadUrl(“javascript:callJS(...
2019-07-30 21:16:35
74
原创 自定义
MainActivity public class MainActivity extends AppCompatActivity { private EditText edit; private TextView tv; private MyView myView; @Override protected void onCreate(Bundle savedInstanceState) { ...
2019-07-30 21:16:18
114
原创 注册presenter
package com.bawei.demo.presenter; import com.bawei.demo.model.Constant; import com.bawei.demo.model.bean.LogBean; import com.bawei.demo.model.http.HttpUtil; import com.bawei.demo.view.IBaseView; impor...
2019-07-21 21:15:49
114
原创 注册Activity
package com.bawei.demo.view.activity; import android.content.Intent; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.baw...
2019-07-21 21:12:51
973
2
原创 Volley的post请求
package com.bawei.demo.model.http; import android.content.Context; import com.android.volley.AuthFailureError; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.and...
2019-07-21 21:11:18
325
原创 属性动画Activity
package com.bawei.demo.view.activity; import android.animation.ObjectAnimator; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.bawei.demo.R; import com.bawei.demo...
2019-07-21 21:08:47
129
原创 MyView
package com.bawei.demo.view.activity; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.grap...
2019-07-21 21:07:30
124
原创 JAVA电商
package com.bawei.day6.view; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import androi...
2019-07-14 21:40:14
656
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人