- @Override\r
- public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\r
- /*\r
- * Start an activity based on the selection\r
- * the user made\r
- */\r
- Intent intent;\r
- intent = (Intent) parent.getAdapter().getItem(position);\r
- if(intent != null ){\r
- startActivity(intent);\r
- } else {\r
- Toast toast = Toast.makeText(getActivity(), "Not yet implemented!", Toast.LENGTH_SHORT);\r
- toast.show();\r
- }\r
- }\r
-\r
- \r
- \r