public abstract class ListActivity extends Activity
Activity.Addons_HoloActivity.Holo, _HoloActivity.OnWindowFocusChangeListenerWatson.OnCreateOptionsMenuListener, Watson.OnOptionsItemSelectedListener, Watson.OnPrepareOptionsMenuListenerIAddonAttacher.AddonCallback<V>, IAddonAttacher.AttachException| Modifier and Type | Field and Description |
|---|---|
protected android.widget.ListAdapter |
mAdapter |
protected ListView |
mList |
ADDON_ROBOGUICE, ADDON_SHERLOCK, ADDON_SLIDER, ADDON_SLIDING_MENUDEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OKACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| Constructor and Description |
|---|
ListActivity() |
| Modifier and Type | Method and Description |
|---|---|
android.widget.ListAdapter |
getListAdapter() |
ListView |
getListView() |
long |
getSelectedItemId() |
int |
getSelectedItemPosition() |
void |
onContentChanged() |
protected void |
onDestroy() |
protected void |
onListItemClick(ListView l,
android.view.View v,
int position,
long id) |
protected void |
onRestoreInstanceState(android.os.Bundle state) |
void |
setListAdapter(android.widget.ListAdapter adapter) |
void |
setSelection(int position) |
addon, addon, addon, addonSherlock, closeOptionsMenu, dispatchKeyEvent, findViewById, getSupportActionBar, instanceState, isAddonAttached, isCreatedByThemeManager, isFirstRun, lockAttaching, obtainAddonsList, onActionModeFinished, onActionModeStarted, onActivityResult, onConfigurationChanged, onCreate, onCreateOptionsMenu, onCreateOptionsMenu, onCreatePanelMenu, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsItemSelected, onPanelClosed, onPause, onPostCreate, onPostInit, onPostResume, onPreInit, onPrepareOptionsMenu, onPrepareOptionsMenu, onPreparePanel, onRestart, onResume, onSaveInstanceState, onStart, onStop, onTitleChanged, openOptionsMenu, performAddonAction, requestWindowFeature, saveInstanceState, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setSupportSecondaryProgress, setUiOptions, setUiOptions, startActionMode, supportInvalidateOptionsMenuaddContentView, addOnWindowFocusChangeListener, createConfig, forceInit, getConfig, getContextMenuListener, getDefaultSharedPreferences, getDefaultSharedPreferences, getLastThemeResourceId, getLayoutInflater, getSharedPreferences, getSharedPreferences, getSupportActionBarContext, getSupportApplication, getSupportMenuInflater, getSystemService, getTheme, getThemedLayoutInflater, getUserHandler, getWindowDecorView, init, init, invalidateOptionsMenu, isForceThemeApply, isInited, onBackPressed, onContextItemSelected, onContextItemSelected, onContextMenuClosed, onContextMenuClosed, onCreateConfig, onCreateContextMenu, onCreateContextMenu, onInit, onWindowFocusChanged, registerForContextMenu, registerForContextMenu, setContentView, setContentView, setContentView, setForceThemeApply, setTheme, setTheme, startActivities, startActivities, startActivity, startActivity, startActivityForResult, startActivityForResult, superGetSharedPreferences, superGetSystemService, superStartActivity, unregisterForContextMenuonCreatePanelMenu, onMenuItemSelected, onPreparePaneldump, getLastCustomNonConfigurationInstance, getSupportFragmentManager, getSupportLoaderManager, onAttachFragment, onCreateView, onKeyDown, onLowMemory, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, startActivityFromFragmentcloseContextMenu, createPendingResult, dismissDialog, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, finish, finishActivity, finishActivityFromChild, finishAffinity, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLoaderManager, getLocalClassName, getMenuInflater, getParent, getParentActivityIntent, getPreferences, getRequestedOrientation, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, isChangingConfigurations, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onApplyThemeResource, onAttachedToWindow, onAttachFragment, onChildTitleChanged, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreatePanelView, onCreateThumbnail, onCreateView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onNavigateUp, onNavigateUpFromChild, onOptionsMenuClosed, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onSearchRequested, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowStartingActionMode, openContextMenu, overridePendingTransition, recreate, removeDialog, requestWindowFeature, runOnUiThread, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setIntent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVisible, setVolumeControlStream, shouldUpRecreateTask, showDialog, showDialog, startActionMode, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromChild, startIntentSenderFromChild, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, triggerSearchbindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getObbDir, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceivergetString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbacksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreatePanelMenuonPreparePanelonMenuItemSelectedprotected android.widget.ListAdapter mAdapter
protected ListView mList
public android.widget.ListAdapter getListAdapter()
public ListView getListView()
public long getSelectedItemId()
public int getSelectedItemPosition()
public void onContentChanged()
onContentChanged in interface android.view.Window.CallbackonContentChanged in class Activityprotected void onListItemClick(ListView l, android.view.View v, int position, long id)
protected void onRestoreInstanceState(android.os.Bundle state)
onRestoreInstanceState in class android.app.Activitypublic void setListAdapter(android.widget.ListAdapter adapter)
public void setSelection(int position)
Copyright © 2012-2013. All Rights Reserved.