android.app
Class ExpandableListActivity
java.lang.Object
android.content.Context
android.app.ApplicationContext
android.app.Activity
android.app.ExpandableListActivity
- All Implemented Interfaces:
- KeyEvent.Callback, View.OnPopulateContextMenuListener, ViewInflate.Factory, Window.Callback, ExpandableListView.OnChildClickListener, ExpandableListView.OnGroupCollapseListener, ExpandableListView.OnGroupExpandListener
public class ExpandableListActivity
- extends Activity
- implements View.OnPopulateContextMenuListener, ExpandableListView.OnChildClickListener, ExpandableListView.OnGroupCollapseListener, ExpandableListView.OnGroupExpandListener
| Fields inherited from class android.content.Context |
ACTIVITY_SERVICE, ALARM_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, INFLATE_SERVICE, KEYGUARD_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, WINDOW_SERVICE |
| Methods inherited from class android.app.Activity |
addContentView, applyThemeResource, closeOptionsMenu, createActivityPendingResult, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishSubActivity, finishSubActivityFromChild, getApplication, getCallingActivity, getCallingPackage, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLocalClassName, getParent, getPreferences, getSystemService, getTaskId, getTitle, getTitleColor, getViewInflate, getWindow, getWindowManager, isEmbedded, isFinishing, isFullscreenOpaque, isTaskRoot, managedCommitUpdates, managedQuery, managedQuery, moveTaskBackwards, moveTaskToBack, onActivityResult, onChildTitleChanged, onConfigurationChanged, onContextItemSelected, onContextMenuClosed, onCreate, onCreateDescription, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onDestroy, onFreeze, onKeyDown, onKeyMultiple, onKeyUp, onMenuItemSelected, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareOptionsMenu, onPreparePanel, onRestart, onResume, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openOptionsMenu, requestWindowFeature, runOnUIThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarVisibility, setResult, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, startActivity, startActivityFromChild, startManagingCursor, startSearch, startSubActivity, startSubActivityIfNeeded, stopManagingCursor, takeKeyEvents |
| Methods inherited from class android.app.ApplicationContext |
bindService, broadcastIntent, broadcastIntent, broadcastIntent, broadcastIntentSerialized, broadcastStickyIntent, checkCallingOrSelfPermission, checkCallingPermission, checkPermission, clearWallpaper, closeExternalStorageFiles, createDatabase, createPackageContext, deleteDatabase, deleteFile, fileList, getAssets, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getPackageManager, getPackageName, getPackagePath, getResources, getSharedPreferences, getTheme, getWallpaper, onCreateView, openDatabase, openFileInput, openFileOutput, peekWallpaper, registerExternalStorageListener, registerReceiver, registerReceiver, setTheme, setThreadPriority, setWallpaper, setWallpaper, showAlert, showAlert, startInstrumentation, startService, stopService, unbindService, unbroadcastStickyIntent, unregisterReceiver |
ExpandableListActivity
public ExpandableListActivity()
onPopulateContextMenu
public void onPopulateContextMenu(ContextMenu contextmenu,
View view,
Object obj)
- Specified by:
onPopulateContextMenu in interface View.OnPopulateContextMenuListener
onChildClick
public boolean onChildClick(ExpandableListView parent,
View v,
int groupPosition,
int i,
long l)
- Specified by:
onChildClick in interface ExpandableListView.OnChildClickListener
onGroupCollapse
public void onGroupCollapse(int i)
- Specified by:
onGroupCollapse in interface ExpandableListView.OnGroupCollapseListener
onGroupExpand
public void onGroupExpand(int i)
- Specified by:
onGroupExpand in interface ExpandableListView.OnGroupExpandListener
onCompleteThaw
protected void onCompleteThaw(Bundle state)
- Overrides:
onCompleteThaw in class Activity
onContentChanged
public void onContentChanged()
- Specified by:
onContentChanged in interface Window.Callback- Overrides:
onContentChanged in class Activity
setListAdapter
public void setListAdapter(ExpandableListAdapter adapter)
getExpandableListView
public ExpandableListView getExpandableListView()
getExpandableListAdapter
public ExpandableListAdapter getExpandableListAdapter()
getSelectedId
public long getSelectedId()
getSelectedPosition
public long getSelectedPosition()
setSelectedChild
public boolean setSelectedChild(int groupPosition,
int childPosition,
boolean shouldExpandGroup)
setSelectedGroup
public void setSelectedGroup(int groupPosition)
Please submit a feedback, bug or feature