1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-16 14:05:07 -05:00

Some documentation

This commit is contained in:
Sebastian Kaspari 2010-03-13 19:06:35 +01:00
parent 9e1265ee87
commit 47b3628853

View File

@ -62,6 +62,9 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
private ServerReceiver receiver; private ServerReceiver receiver;
private ServerListAdapter adapter; private ServerListAdapter adapter;
/**
* On create
*/
@Override @Override
public void onCreate(Bundle savedInstanceState) public void onCreate(Bundle savedInstanceState)
{ {
@ -74,6 +77,9 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
getListView().setOnItemLongClickListener(this); getListView().setOnItemLongClickListener(this);
} }
/**
* On resume
*/
@Override @Override
public void onResume() public void onResume()
{ {
@ -90,6 +96,9 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
adapter.loadServers(); adapter.loadServers();
} }
/**
* On pause
*/
@Override @Override
public void onPause() public void onPause()
{ {
@ -185,6 +194,9 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
return true; return true;
} }
/**
* On menu item selected
*/
@Override @Override
public boolean onMenuItemSelected(int featureId, MenuItem item) public boolean onMenuItemSelected(int featureId, MenuItem item)
{ {
@ -200,6 +212,9 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
return true; return true;
} }
/**
* On activity result
*/
@Override @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) protected void onActivityResult(int requestCode, int resultCode, Intent data)
{ {