最新回答 / qq_雜草葰_0
<ViewFlipper?? ? ? ? android:id="@+id/flipper"? ? ? ? android:layout_height="match_parent"? ? ? ? android:layout_width="match_parent"? ? ? ? >? ? ? ? <view? ? ? ? ? ? android:id="@+id/view1"? ? ? ? ? ? android:layout_width="wrap_content"? ? ? ? ?...
2016-03-15
最新回答 / Lwan
找到辦法了,導(dǎo)入相關(guān)的jar包就行了http://blog.csdn.net/forandever/article/details/37655139
2016-03-11
最贊回答 / 某凌
<>這個(gè)是泛型標(biāo)識(shí)符。arrayadapter<string>表示這個(gè)適配器里面只能有string類型的數(shù)據(jù)。詳細(xì)的見java泛型。
2016-03-09
最贊回答 / soputasmile
你這個(gè)肯定報(bào)錯(cuò)啊,你不能在new datalist之前就使用它,?simpleAdapter = new SimpleAdapter(this,getdata(),R.layout.item,new String[]{"pic","text"},new int[]{R.id.pic,R.id.text});? ? datalist = new ArrayList<Map<String,Object>>();這兩句換個(gè)位置
2016-03-09
最新回答 / enviable
?* button控件在fragment中 ?fragment在main2中 * 所以在調(diào)用main2的MainActivity2中可以直接找到button * 可是不能以相同的方法來定義調(diào)用TextView? * ?Cannot refer to the non-final local variable textview defined in an enclosing scope? ? ? ? ? ? ? ? ? ? ? ? ?不能引用非最終的局部變量在外部作用域中定義的方法? * ? 解決:在...
2016-03-05
最新回答 / 柯文
ArrayAdpter的第二個(gè)參數(shù)表示,在整個(gè)適配器中每一項(xiàng)該配什么子布局,item是他自定義的子布局,不需要些多項(xiàng),數(shù)據(jù)有多少項(xiàng)ArrayAdapter就有多長,item就有多少個(gè)。
2016-02-28