- 博客(13)
- 收藏
- 关注
原创 动画
main布局:<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="h
2018-04-06 19:07:27
127
转载 Fragment第四期
第三期写了电话以及电话的布局跟作用,这次我们来写音乐,还是那句话Fragment基本都是一致的:先写音乐的布局:<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout...
2018-04-06 18:52:40
525
原创 Fragment第三期
先将布局摆正,先写个main主类<?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.andro...
2018-04-06 18:42:04
123
原创 item
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" >...
2018-03-30 08:09:49
275
原创 FrameLayout
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <a...
2018-03-30 08:09:24
134
原创 main xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@...
2018-03-30 08:08:56
205
原创 TenPagerAdapter
public class TenPagerAdapter extends FragmentPagerAdapter{ private List<Fragment>fragmentList; private List<String>titleList; public TenPagerAdapter(FragmentManager fm,List<...
2018-03-30 08:08:10
100
原创 TenInter
public interface TenInter { @GET("GetCriticList") Call<MoiveBean> getMoiveInfo(); @GET("GetNovelList") Call<ArticalBean>getArticalInfo(); @GET("GetDiagramList") Ca...
2018-03-30 08:07:45
130
原创 Adapter
public class MoiveAdapter extends RecyclerView.Adapter<MoiveAdapter.MoiveViewHolder>{ private Context context; private List<MoiveBean.ResultBean>mDatas; public MoiveAdapter(Co...
2018-03-30 08:07:10
114
原创 MainActivity
public class MainActivity extends AppCompatActivity { @BindView(R.id.main_tab) TabLayout tabLayout; @BindView(R.id.mian_vp) ViewPager vp; private List<Fragment>fragmentList ...
2018-03-30 08:06:40
130
原创 Fragment
public class ArticalFragment extends Fragment{ @BindView(R.id.artical_rv) RecyclerView articalRv; String text_url = "http://api.shigeten.net/api/Novel/"; private List<ArticalBean.R...
2018-03-30 08:06:02
129
原创 完整APP
这是CartActivity类:package org.frxm.yuekao;import android.content.ContentValues;import android.content.Intent;import android.database.Cursor;import android.database.sqlite.SQLiteDatabase;import android.g
2018-01-18 20:08:34
595
原创 Andriod 数据库+Fragment=淘宝
这是ManinActivitypackage com.example.administrator.lx_zk;import android.support.v4.app.Fragment;import android.support.v4.view.ViewPager;import android.support.v7.app.AppCompatActivity;import and
2018-01-14 19:12:29
300
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人