es.cesar.quitesleep.subactivities
Class DeleteBanned

java.lang.Object
  extended by ListActivity
      extended by es.cesar.quitesleep.subactivities.DeleteBanned

public class DeleteBanned
extends ListActivity

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
 
Constructor Summary
DeleteBanned()
           
 
Method Summary
 void onActivityResult(int requestCode, int resultCode, Intent data)
           
 void onCreate(Bundle savedInstanceState)
           
protected  Dialog onCreateDialog(int id)
          Create the activity dialogs used for it
 boolean onCreateOptionsMenu(Menu menu)
           
protected  void onListItemClick(ListView listView, View view, int position, long id)
           
 boolean onOptionsItemSelected(MenuItem item)
           
protected  void onPrepareDialog(int idDialog, Dialog dialog)
          This function prepare the dalogs every time to call for some of this
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

DeleteBanned

public DeleteBanned()
Method Detail

onCreate

public void onCreate(Bundle 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