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.ListView

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

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

Removed Methods
boolean arrowScroll(int) Scrolls to the next or previous item if possible.
void draw(Canvas)  
void drawDivider(Canvas, Rect, int) Draws a divider for the given child in the given bounds.
int findMotionRow(int)  
View findViewInHeadersOrFooters(ArrayList<FixedViewInfo>, int)  
View findViewTagInHeadersOrFooters(ArrayList, Object)  
boolean fullScroll(int) Go to the last or first item if possible (not worrying about panning across or navigating within the internal focus of the currently selected item.)
int getNumberOfFooterViews() Gets the number of footer views in the list.
int getNumberOfHeaderViews() Gets the number of header views in the list.
int lookForSelectablePosition(int, boolean) Find a position that can be selected (i.e., is not a separator).
boolean pageScroll(int) Scrolls up or down by the number of items currently present on screen.
void resetList() The list is empty.
void setOnListViewScrollListener(OnListViewScrollListener) Set the listener that will receive notifications every time the list scrolls.
void setSelectionInt(int) Makes the item at the supplied position selected.
void setStripes(Drawable[], int)  
 

Added Methods
void clearChoices() Clear any choices previously set
int getCheckedItemPosition() Returns the currently checked item.
SparseBooleanArray getCheckedItemPositions() Returns the set of checked items in the list.
int getChoiceMode() @see #setChoiceMode(int)
Drawable getDivider() Returns the drawable that will be drawn between each item in the list.
int getDividerHeight() @return Returns the height of the divider that will be drawn between each item in the list.
int getFooterViewsCount()  
int getHeaderViewsCount()  
boolean isItemChecked(int) Returns the checked state of the specified position.
void onRestoreInstanceState(Parcelable)  
Parcelable onSaveInstanceState()  
boolean performItemClick(View, int, long)  
void setChoiceMode(int) Defines the choice behavior for the List.
void setItemChecked(int, boolean) Sets the checked state of the specified position.
 

Changed Methods
void drawableStateChanged() Method was locally defined, but is now inherited from AbsListView.  
boolean onKeyUp(int, KeyEvent) Method was inherited from android.widget.AbsListView, but is now defined locally.  
boolean onTouchEvent(MotionEvent) Method was inherited from android.widget.AbsListView, but is now defined locally.  
boolean verifyDrawable(Drawable) Method was locally defined, but is now inherited from AbsListView.  
 

Removed Fields
Drawable mDivider  
int mDividerHeight  
 

Added Fields
int CHOICE_MODE_MULTIPLE The list allows multiple choices
int CHOICE_MODE_NONE Normal list that does not indicate choices
int CHOICE_MODE_SINGLE The list allows up to one choice
 

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