2016年7月1日

Fragment事物

摘要: if (fragments.size() > 0) { for (int i = 0; i < fragments.size(); i++) { FragmentTransaction transaction = supportFragmentManager.beginTransaction(); 阅读全文

posted @ 2016-07-01 08:35 白日梦游 阅读(194) 评论(0) 推荐(0)

简单的日间模式夜间模式

摘要: package com.example.topnews.topnews; import android.content.SharedPreferences;import android.content.SharedPreferences.Editor;import android.graphics. 阅读全文

posted @ 2016-07-01 08:07 白日梦游 阅读(937) 评论(0) 推荐(0)

SlidingMenu的基础用法

摘要: slidingMenu = new SlidingMenu(getApplicationContext()); //设置菜单从左侧出来 slidingMenu.setMode(SlidingMenu.LEFT); //设置菜单的作用域 slidingMenu.setTouchModeAbove(Sl 阅读全文

posted @ 2016-07-01 08:06 白日梦游 阅读(296) 评论(0) 推荐(0)

OkHttp的post请求

摘要: OkHttpClient client = new OkHttpClient(); FormBody body = new FormBody.Builder() .add("mobile",mNumber) .add("type","1").build(); final Request reques 阅读全文

posted @ 2016-07-01 08:01 白日梦游 阅读(2499) 评论(0) 推荐(0)

2016年6月20日

刷新加载1

摘要: /** * @file XListView.java * @package me.maxwin.view * @create Mar 18, 2012 6:28:41 PM * @author Maxwin * @description An ListView support (a) Pull do 阅读全文

posted @ 2016-06-20 08:34 白日梦游 阅读(169) 评论(0) 推荐(0)

2016年6月13日

WebView

摘要: package com.example.day_10_android_js; import android.annotation.SuppressLint;import android.app.Activity;import android.os.Bundle;import android.view 阅读全文

posted @ 2016-06-13 08:40 白日梦游 阅读(142) 评论(0) 推荐(0)

Android-pull解析

摘要: package com.example.weekthreepull; import java.util.ArrayList;import java.util.List; import org.xmlpull.v1.XmlPullParser; import com.example.adapter.M 阅读全文

posted @ 2016-06-13 08:38 白日梦游 阅读(336) 评论(0) 推荐(0)

HttpURLconnection简单用法

摘要: package com.example.day_02_httpurlconnection; import java.io.BufferedReader;import java.io.InputStream;import java.io.InputStreamReader;import java.ne 阅读全文

posted @ 2016-06-13 08:37 白日梦游 阅读(630) 评论(0) 推荐(0)

2016年6月2日

Android-碎片事务的add与hide

摘要: package com.example.thirdweek; import android.os.Bundle;import android.support.v4.app.Fragment;import android.support.v4.app.FragmentActivity;import a 阅读全文

posted @ 2016-06-02 08:16 白日梦游 阅读(192) 评论(0) 推荐(0)

2016年6月1日

Android-ImageLoader的最基础的操作

摘要: //以下为一个ImageLoader类,这里需要在配置文件中注册 package com.example.yuekaodemo_02; import com.nostra13.universalimageloader.core.ImageLoader;import com.nostra13.univ 阅读全文

posted @ 2016-06-01 20:49 白日梦游 阅读(261) 评论(0) 推荐(0)

导航

点击右上角即可分享
微信分享提示