0
任何機構幫助我使用的片段在以下API級別11這是可能的使用ListFragment和FragmentTransaction在下面的級別的API 11?
developer.android提供名單片段和交易片段,但它的API等級增加11
如何升級Froyo(2.2)使用片段。 (我想實現ListView片段)。
任何機構幫助我使用的片段在以下API級別11這是可能的使用ListFragment和FragmentTransaction在下面的級別的API 11?
developer.android提供名單片段和交易片段,但它的API等級增加11
如何升級Froyo(2.2)使用片段。 (我想實現ListView片段)。
您可以使用Android支持庫。 http://developer.android.com/tools/extras/support-library.html
Thanks Alex.How to use Support Library?你能爲它提供步驟嗎? – patel 2013-03-25 06:36:32
不客氣。這裏是一個教程,你可以下載它。 http://developer.android.com/training/basics/fragments/support-lib.html。但是隻做第一步。 1.從sdk管理器安裝。 2.我想你正在使用eclipse,去你的項目,右鍵點擊項目名稱(頂層)選擇Android的工具 - >添加支持庫... – Alex 2013-03-25 06:50:09
我用支持庫,但當我實現FragmentActivity.getSupportFragmentManager() .beginTransaction();它在編譯時包含錯誤。 – patel 2013-03-25 06:54:22