自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 自定义ListView

package com.team3.baby.widget;import android.annotation.TargetApi;import android.content.Context;import android.os.Build;import android.util.AttributeSet;import android.widget.ListView;public

2017-06-06 13:58:58 238

原创 OKhttpUtils

public class OkUtils { static final int GET_EXCUTE = 111; static final int GET_ENQUEUE = 222; static final int POST_EXCUTE = 333; static final int POST_ENQUEUE = 111; private OkUt

2017-05-13 08:58:04 405

原创 添加动画

public class LogoActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layou

2017-04-04 21:33:49 236

原创 添加数据库

public class MySqlite extends SQLiteOpenHelper { public MySqlite(Context context) { super(context, "MyInfo", null, 2); } public MySqlite(Context context, String name, SQLiteDataba

2017-04-04 21:32:38 293

原创 listview多条目加载

public class MyBaseAdapter extends BaseAdapter { private Context context; private ArrayList list; private final int Type_1 = 0; private final int Type_2 = 1; private final int Typ

2017-04-04 20:37:22 296

原创 判断网络

public class NetUtil { //判断是不是wifi public static boolean isWifi(Context context){ ConnectivityManager manager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SER

2017-04-04 17:32:05 210

原创 fragment的管理

private void initData() { fragmentManager = getSupportFragmentManager(); fragment1 = new Fragment1(); fragment2 = new Fragment2(); fragment3 = new Fragment3();

2017-03-26 20:31:22 253

原创 无限轮播

viewPager.setCurrentItem(num);  protected void onResume() { super.onResume(); Timer timer = new Timer(); timer.schedule(new TimerTask() { @Override public void run()

2017-03-19 19:34:15 170

原创 MyPageAdapter

public class MyPageAdapter extends PagerAdapter { private Context context; private ArrayList list; public MyPageAdapter(Context context, ArrayList list) { this.context = context;

2017-03-19 19:28:31 279

原创 MyAppliction

public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); ImageLoaderConfiguration configuration = new ImageLoaderConfiguration

2017-03-19 19:26:51 212

原创 ImageLoaderUtils

public class ImageLoaderUtils { public static DisplayImageOptions getOptions() { DisplayImageOptions options = new DisplayImageOptions.Builder() .showImageForEmptyUri(R.mi

2017-03-19 19:02:52 200

原创 HttpURLconnection

public class HttpUrlConnectionUtils extends Thread { private Handler handler; private String sUrl; private String s; public HttpUrlConnectionUtils(Handler handler, String sUrl) {

2017-03-19 18:51:34 243

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除