Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android-undergarment ライブラリを使用してサイド メニューを作成しようとしていますが、コンストラクターに指定したリストビュー レイアウトに項目を追加する方法がわかりません。どんな助けでも大歓迎です。
さて、ついにその方法を見つけました。
ListView view = (ListView)mDrawerGarment.findViewById(R.id.sideMenuList); List<String> menuItems = new ArrayList<String>(); menuItems.add("One"); menuItems.add("two"); menuItems.add("three"); menuItems.add("four");