API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.widget.AdapterView

Removed Constructors
android.widget(Context, AttributeSet, Map)  
android.widget(Context, AttributeSet, Map, int)  
 

Added Constructors
AdapterView(Context, AttributeSet)  
AdapterView(Context, AttributeSet, int)  
 

Removed Methods
void checkFocus()  
void dispatchFreeze(SparseArray<Parcelable>) Override to prevent freezing of any views created by the adapter.
void dispatchThaw(SparseArray<Parcelable>) Override to prevent thawing of any views created by the adapter.
int findSyncPosition() Searches the adapter for a position matching mSyncRowId.
void handleDataChanged()  
int lookForSelectablePosition(int, boolean) Find a position that can be selected (i.e., is not a separator).
Object obtainItem(int) Gets the data associated with the specified position in the list.
long obtainItemId(int)  
void rememberSyncState() Remember enough information to restore the screen state when the data has changed.
void selectionChanged()  
void setNextSelectedPositionInt(int) Utility to keep mNextSelectedPosition and mNextSelectedRowId in sync
void setSelectedPositionInt(int) Utility to keep mSelectedPosition and mSelectedRowId in sync
 

Added Methods
void dispatchRestoreInstanceState(SparseArray<Parcelable>) Override to prevent thawing of any views created by the adapter.
void dispatchSaveInstanceState(SparseArray<Parcelable>) Override to prevent freezing of any views created by the adapter.
int getFirstVisiblePosition() Returns the position within the adapter's data set for the first item displayed on screen.
Object getItemAtPosition(int) Gets the data associated with the specified position in the list.
long getItemIdAtPosition(int)  
int getLastVisiblePosition() Returns the position within the adapter's data set for the last item displayed on screen.
 

Changed Methods
void onLayout(boolean, int, int, int, int) Method was inherited from android.view.ViewGroup, but is now defined locally. Changed from abstract to non-abstract.  
void setFocusable(boolean) Method was inherited from android.view.View, but is now defined locally. Change from final to non-final.
 
void setFocusableInTouchMode(boolean) Method was inherited from android.view.View, but is now defined locally. Change from final to non-final.
 
 

Removed Fields
int SYNC_FIRST_POSITION Sync based on the first row
int SYNC_MAX_DURATION_MILLIS Maximum amount of time to spend in .findSyncPosition()
int SYNC_SELECTED_POSITION Sync based on the selected row
boolean mDataChanged True if the data has changed since the last layout
View mEmptyView View to show if there is nothing in the list
int mFirstPosition The position of the first child displayed
boolean mInLayout  
int mItemCount  
boolean mNeedSync True if we need to sync to mSyncRowId
int mNextSelectedPosition The index within the adapter's data set of the item to select during the next layout.
long mNextSelectedRowId The item id of the item to select during the next layout.
OnItemClickListener mOnItemClickListener  
OnItemLongClickListener mOnItemLongClickListener  
OnItemSelectedListener mOnItemSelectedListener  
int mSelectedPosition The index within the adapter's data set of the currently selected item.
long mSelectedRowId The item id of the currently selected item.
int mSpecificTop The offset in pixels form the top of the AdapterView to the top of the view to select during the next layout.
int mSyncMode Indicates whether to sync based on the selection or position
int mSyncPosition Position from which to start looking for mSyncRowId
long mSyncRowId Row id to look for when data has changed
 

Added Fields
int INVALID_POSITION Represents an invalid position.
long INVALID_ROW_ID Represents an empty or invalid row id
int ITEM_VIEW_TYPE_HEADER_OR_FOOTER The item view type returned by Adapter.getItemViewType(int) when the item is a header or footer.
int ITEM_VIEW_TYPE_IGNORE The item view type returned by Adapter.getItemViewType(int) when the adapter does not want the item's view recycled.
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff