- 博客(7)
- 收藏
- 关注
原创 PullToRefresh上拉加载下拉刷新
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_grid); ShowNet(); gv = (PullToRe
2016-07-28 16:06:54 423
原创 Alert对话框,使用自带按钮
final AlertDialog.Builder ab = new AlertDialog.Builder(MyActivity.this); View alert_view = View.inflate(MyActivity.this, R.layout.btn_no_alert, null); ab.setVie
2016-07-27 16:16:26 1418
原创 百度地图规划路径
package com.bwie.test;import android.app.Activity;import android.os.Bundle;import android.view.View;import android.widget.Button;import android.widget.EditText;import android.widget.Toast;imp
2016-07-27 15:09:51 1665
原创 百度地图API 点击地图提示信息
private void init() { mCurrentMode = MyLocationConfiguration.LocationMode.NORMAL; mCurrentMarker = null; mBaiduMap.setMyLocationConfigeration(new MyLocationConfiguration(
2016-07-27 15:08:59 2570
原创 Fragment隐藏与显示
public void JumpFragment(Fragment fragment, String tag) { FragmentManager manager = getSupportFragmentManager(); FragmentTransaction action = manager.beginTransaction(); // 判断mFragment是否被加载过
2016-07-11 08:25:04 383
原创 OkHttp Post请求方式
String path = "https://ic.snssdk.com/user/mobile/login/v2/"; OkHttpClient httpClient = new OkHttpClient(); FormBody body = new FormBody.Builder() .add("mobile", et_phon
2016-07-01 08:01:33 5498
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人