es.cesar.quitesleep.subactivities
Class AddBanned
java.lang.Object
ListActivity
es.cesar.quitesleep.subactivities.AddBanned
public class AddBanned
- extends ListActivity
- Version:
- 0.1, 03-13-2010
Class for AddContacts to the banned user list
- Author:
- Cesar Valiente Gordo
Field Summary |
Handler |
handler
Handler for clear the listView and the array adapter once we have been
add all contacts to the banned list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handler
public final Handler handler
- Handler for clear the listView and the array adapter once we have been
add all contacts to the banned list
AddBanned
public AddBanned()
onCreate
public void onCreate(Bundle savedInstanceState)
- onCreate
- Parameters:
savedInstanceState
-
onListItemClick
protected void onListItemClick(ListView listView,
View view,
int position,
long id)
onActivityResult
public void onActivityResult(int requestCode,
int resultCode,
Intent data)
onCreateDialog
protected Dialog onCreateDialog(int id)
- Create the activity dialogs used for it
- Parameters:
id
-
- Returns:
- the dialog for the option specified
- See Also:
Dialog
onPrepareDialog
protected void onPrepareDialog(int idDialog,
Dialog dialog)
- This function prepare the dalogs every time to call for some of this
- Parameters:
int
- dialog
-
onCreateOptionsMenu
public boolean onCreateOptionsMenu(Menu menu)
onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem item)
- Parameters:
item
-
- Returns:
- boolean