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.
在我的应用程序中,我实现了jfeinstein10的SlidingMenu库。一切正常(官方示例应用程序),但我不知道如何为列表中的项目设置操作(幻灯片菜单)。我想在项目点击时开始另一个活动。有人可以给我一个小例子吗?
据我了解,您希望在单击菜单项时开始活动。
所以为滑动菜单编写项目点击监听器:
list.setOnItemClickListener( new OnItemClickListener() { public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) { Intent intent = new Intent(this,next_activity.class); startActivity(intent); }); }
I'm trying to get lat long coordinates from an address using the Google maps api v3 in Wakanda Studio. I have submitted to the Wakanda forum as well. I searched the v3 documentation