摘要:
ListFragment继承于Fragment:package com.example.android_listfragment;import java.util.ArrayList;import java.util.List;import android.app.FragmentManager;import android.app.FragmentTransaction;import android.app.ListFragment;import android.os.Bundle;import android.view.LayoutInflater;import android.view. 阅读全文
posted @ 2014-03-18 22:34
行云有影
阅读(1071)
评论(0)
推荐(0)
摘要:
fragment1中先获取fragment2中的控件,然后通过控件自己的方法得到值button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { // TODO Auto-generated method stub Fragment2 fragment2 = (Fragment2) getFragmentManager() ... 阅读全文
posted @ 2014-03-18 22:14
行云有影
阅读(12262)
评论(0)
推荐(1)
摘要:
1、 要使用fragment,首先需要创建一个类继承android.app.Fragment;Fragment1.java(需要给Fragment1配置布局文件f1.xml)import android.app.Fragment;import android.os.Bundle;import and... 阅读全文
posted @ 2014-03-18 15:25
行云有影
阅读(286)
评论(0)
推荐(0)
摘要:
应用标识(AppKey)a5adc91db556f828880aa3fdAPI MasterSecret87f1c6a6e5bf6a8a63117de6应用包名(Android)com.travel.a ------------->MainActivity所在的包包名和AppKey必须与AndroidManifest.xml里配置的保持一致。 阅读全文
posted @ 2014-03-18 10:59
行云有影
阅读(171)
评论(0)
推荐(0)

浙公网安备 33010602011771号