java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ com.htc.widget.HtcAdapterView<T extends android.widget.Adapter>
         ↳ com.htc.widget.HtcAbsListView
Known Direct Subclasses

Class Overview

Base class that can be used to implement virtualized lists of items. A list does not have a spatial definition here. For instance, subclases of this class can display the content of the list in a grid, in a carousel, as stack, etc.

Summary

Nested Classes
interface HtcAbsListView.AddAnimationListener The callbacks to be invoked when delete animation starts or ends. 
interface HtcAbsListView.DeleteAnimationListener The callbacks to be invoked when add animation starts or ends. 
interface HtcAbsListView.IntroAnimationListener The callbacks to be invoked when intro animation starts or ends. 
class HtcAbsListView.LayoutParams AbsListView extends LayoutParams to provide a place to hold the view type. 
interface HtcAbsListView.MultiChoiceModeListener A MultiChoiceModeListener receives events for HtcAbsListView#CHOICE_MODE_MULTIPLE_MODAL. 
interface HtcAbsListView.OnScrollListener Interface definition for a callback to be invoked when the list or grid has been scrolled. 
interface HtcAbsListView.RecyclerListener A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin's scrap heap. 
interface HtcAbsListView.SelectionBoundsAdjuster The top-level view of a list item can implement this interface to allow itself to modify the bounds of the selection shown for that item. 
interface HtcAbsListView.scrollToAddedPositionListener The callbacks to be invoked smoothScroll end. 
XML Attributes
Attribute Name Related Method Description
android:cacheColorHint Indicates that this list will always be drawn on top of solid, single-color opaque background. 
android:choiceMode Defines the choice behavior for the view. 
android:drawSelectorOnTop setDrawSelectorOnTop(boolean) When set to true, the selector will be drawn over the selected item. 
android:fastScrollEnabled Enables the fast scroll thumb that can be dragged to quickly scroll through the list. 
android:listSelector setSelector(int) Drawable used to indicate the currently selected item in the list. 
android:scrollingCache When set to true, the list uses a drawing cache during scrolling. 
android:smoothScrollbar setSmoothScrollbarEnabled(boolean) When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen. 
android:stackFromBottom Used by ListView and GridView to stack their content from the bottom. 
android:textFilterEnabled When set to true, the list will filter results as the user types. 
android:transcriptMode Sets the transcript mode for the list. 
Constants
int ANIM_ADD
int ANIM_CLICK
int ANIM_DEL
int ANIM_INTRO
int ANIM_OVERSCROLL
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
int TRANSCRIPT_MODE_ALWAYS_SCROLL The list will automatically scroll to the bottom, no matter what items are currently visible.
int TRANSCRIPT_MODE_DISABLED Disables the transcript mode.
int TRANSCRIPT_MODE_NORMAL The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen.
[Expand]
Inherited Constants
From class com.htc.widget.HtcAdapterView
From class android.view.ViewGroup
From class android.view.View
Fields
protected TextSelectionMovementMethod mSelectionMethod
[Expand]
Inherited Fields
From class android.view.ViewGroup
From class android.view.View
Public Constructors
HtcAbsListView(Context context)
HtcAbsListView(Context context, AttributeSet attrs)
HtcAbsListView(Context context, AttributeSet attrs, int defStyle)
Public Methods
void clearChoices()
Clears any choices previously set
void clearTextFilter()
Clears the text filter.
void enableAnimation(int anim_id, boolean enable)
Enables or disables one kind of animation; default : enable all animations HtcAbsListView.ANIM_OVERSCROLL, ANIM_INTRO, ANIM_CLICK, ANIM_ADD, ANIM_DEL; can use bit operation, e.g.: ANIM_OVERSCROLL & ANIM_INTRO
int getCheckedItemCount()
Returns the number of items currently selected.
int getCheckedItemPosition()
Returns the currently checked item.
SparseBooleanArray getCheckedItemPositions()
Returns the set of checked items in the list.
int getListPaddingBottom()
List padding is the maximum of the normal view's padding and the padding of the selector.
int getListPaddingTop()
List padding is the maximum of the normal view's padding and the padding of the selector.
View getSelectedView()
int getTranscriptMode()
Returns the current transcript mode.
void invalidateViews()
Causes all the views to be rebuilt and redrawn.
boolean isFastScrollEnabled()
Returns the current state of the fast scroll feature.
boolean isItemChecked(int position)
Returns the checked state of the specified position.
void onRestoreInstanceState(Parcelable state)
Parcelable onSaveInstanceState()
void onTextChanged(CharSequence s, int start, int before, int count)
For our text watcher that is associated with the text filter.
int pointToPosition(int x, int y)
Maps a point to a position in the list.
void requestDisallowInterceptTouchEvent(boolean disallowIntercept)
void requestLayout()
void setAddAnimationListener(HtcAbsListView.AddAnimationListener listener)
Registers the add animation listener
void setBottomBorderHeight(int height)
Sets bottom border height of listview.
void setBottomDivider(Drawable dr)
Sets Drawable of bottom divider.
void setBottomRound(Drawable dr)
void setBouncingEnabled(boolean enable)
void setCacheColorHint(int color)
When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background.
void setChoiceMode(int choiceMode)
Defines the choice behavior for the List.
void setDeleteAnimationListener(HtcAbsListView.DeleteAnimationListener listener)
Registers the delete animation listener
void setDrawSelectorOnTop(boolean onTop)
Controls whether the selection highlight drawable should be drawn on top of the item or behind it.
void setFastScrollEnabled(boolean enabled)
Enables fast scrolling by letting the user quickly scroll through lists by dragging the fast scroll thumb.
void setIntroAnimationListener(HtcAbsListView.IntroAnimationListener listener)
Registers the intro animation listener
void setItemChecked(int position, boolean value)
Sets the checked state of the specified position.
void setOnScrollListener(HtcAbsListView.OnScrollListener l)
Sets the listener that will receive notifications every time the list scrolls.
void setRecyclerListener(HtcAbsListView.RecyclerListener listener)
Sets the recycler listener to be notified whenever a View is set aside in the recycler for later reuse.
void setScrollToAddedPositionListener(HtcAbsListView.scrollToAddedPositionListener listener)
Registers the smooth scroll listener for add animation
void setScrollingCacheEnabled(boolean enabled)
Enables or disables the children's drawing cache during a scroll.
void setSelector(Drawable sel)
void setSelector(int resID)
Sets a Drawable that should be used to highlight the currently selected item.
void setSmoothScrollbarEnabled(boolean enabled)
When smooth scrollbar is enabled, the position and size of the scrollbar thumb is computed based on the number of visible pixels in the visible items.
void setTextFilterEnabled(boolean textFilterEnabled)
Enables or disables the type filter window.
void setTopBorderHeight(int height)
Sets top border height of listview.
void setTopDivider(Drawable dr)
void setTopRound(Drawable dr)
void setTranscriptMode(int mode)
Puts the list or grid into transcript mode.
void smoothScrollBy(int distance, int duration)
Smoothly scrolls by distance pixels over duration milliseconds.
void smoothScrollToPositionFromTop(int position, int offset)
Smoothly scrolls to the specified adapter position.
void startIntroAnimation()
Plays the intro animation
Protected Methods
void handleDataChanged()
void onFling(int initialVelocity)
Performs the fling action with the velocity initialVelocity
void onLayout(boolean changed, int l, int t, int r, int b)
Subclasses should NOT override this method but #layoutChildren() instead.
void onSizeChanged(int w, int h, int oldw, int oldh)
[Expand]
Inherited Methods
From class com.htc.widget.HtcAdapterView
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.graphics.drawable.Drawable.Callback2
From interface android.text.TextWatcher
From interface android.view.HtcIfViewGroup
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.ViewTreeObserver.OnGlobalLayoutListener
From interface android.view.ViewTreeObserver.OnTouchModeChangeListener
From interface android.view.accessibility.AccessibilityEventSource
From interface android.widget.Filter.FilterListener

XML Attributes

android:cacheColorHint

Since: API Level

Indicates that this list will always be drawn on top of solid, single-color opaque background. This allows the list to optimize drawing.

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

This corresponds to the global attribute resource symbol cacheColorHint.

Related Methods

android:choiceMode

Since: API Level

Defines the choice behavior for the view. By default, lists do not have any choice behavior. By setting the choiceMode to singleChoice, the list allows up to one item to be in a chosen state. By setting the choiceMode to multipleChoice, the list allows any number of items to be chosen. Finally, by setting the choiceMode to multipleChoiceModal the list allows any number of items to be chosen in a special selection mode. The application will supply a android.widget.AbsListView.MultiChoiceModeListener using setMultiChoiceModeListener(AbsListView.MultiChoiceModeListener) to control the selection mode. This uses the android.view.ActionMode API.

Must be one of the following constant values.

ConstantValueDescription
none0 Normal list that does not indicate choices.
singleChoice1 The list allows up to one choice.
multipleChoice2 The list allows multiple choices.
multipleChoiceModal3 The list allows multiple choices in a custom selection mode.

This corresponds to the global attribute resource symbol choiceMode.

Related Methods

android:drawSelectorOnTop

Since: API Level

When set to true, the selector will be drawn over the selected item. Otherwise the selector is drawn behind the selected item. The default value is false.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

This corresponds to the global attribute resource symbol drawSelectorOnTop.

android:fastScrollEnabled

Since: API Level

Enables the fast scroll thumb that can be dragged to quickly scroll through the list.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

This corresponds to the global attribute resource symbol fastScrollEnabled.

Related Methods

android:listSelector

Since: API Level

Drawable used to indicate the currently selected item in the list.

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

This corresponds to the global attribute resource symbol listSelector.

Related Methods

android:scrollingCache

Since: API Level

When set to true, the list uses a drawing cache during scrolling. This makes the rendering faster but uses more memory. The default value is true.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

This corresponds to the global attribute resource symbol scrollingCache.

Related Methods

android:smoothScrollbar

Since: API Level

When set to true, the list will use a more refined calculation method based on the pixels height of the items visible on screen. This property is set to true by default but should be set to false if your adapter will display items of varying heights. When this property is set to true and your adapter displays items of varying heights, the scrollbar thumb will change size as the user scrolls through the list. When set to fale, the list will use only the number of items in the adapter and the number of items visible on screen to determine the scrollbar's properties.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

This corresponds to the global attribute resource symbol smoothScrollbar.

android:stackFromBottom

Since: API Level

Used by ListView and GridView to stack their content from the bottom.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

This corresponds to the global attribute resource symbol stackFromBottom.

Related Methods

android:textFilterEnabled

Since: API Level

When set to true, the list will filter results as the user types. The List's adapter must support the Filterable interface for this to work.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

This corresponds to the global attribute resource symbol textFilterEnabled.

Related Methods

android:transcriptMode

Since: API Level

Sets the transcript mode for the list. In transcript mode, the list scrolls to the bottom to make new items visible when they are added.

Must be one of the following constant values.

ConstantValueDescription
disabled0 Disables transcript mode. This is the default value.
normal1 The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen.
alwaysScroll2 The list will automatically scroll to the bottom, no matter what items are currently visible.

This corresponds to the global attribute resource symbol transcriptMode.

Related Methods

Constants

public static final int ANIM_ADD

Since: API Level 2.0

Constant Value: 8 (0x00000008)

public static final int ANIM_CLICK

Since: API Level 2.0

Constant Value: 4 (0x00000004)

public static final int ANIM_DEL

Since: API Level 2.0

Constant Value: 16 (0x00000010)

public static final int ANIM_INTRO

Since: API Level 2.0

Constant Value: 2 (0x00000002)

public static final int ANIM_OVERSCROLL

Since: API Level 2.0

Constant Value: 1 (0x00000001)

public static final int CHOICE_MODE_MULTIPLE

Since: API Level 4.0

The list allows multiple choices

Constant Value: 2 (0x00000002)

public static final int CHOICE_MODE_NONE

Since: API Level 4.0

Normal list that does not indicate choices

Constant Value: 0 (0x00000000)

public static final int CHOICE_MODE_SINGLE

Since: API Level 4.0

The list allows up to one choice

Constant Value: 1 (0x00000001)

public static final int TRANSCRIPT_MODE_ALWAYS_SCROLL

Since: API Level 2.0

The list will automatically scroll to the bottom, no matter what items are currently visible.

Constant Value: 2 (0x00000002)

public static final int TRANSCRIPT_MODE_DISABLED

Since: API Level 2.0

Disables the transcript mode.

Constant Value: 0 (0x00000000)

public static final int TRANSCRIPT_MODE_NORMAL

Since: API Level 2.0

The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen.

Constant Value: 1 (0x00000001)

Fields

protected TextSelectionMovementMethod mSelectionMethod

Since: API Level 2.0

Public Constructors

public HtcAbsListView (Context context)

Since: API Level 2.0

public HtcAbsListView (Context context, AttributeSet attrs)

Since: API Level 2.0

public HtcAbsListView (Context context, AttributeSet attrs, int defStyle)

Since: API Level 2.0

Public Methods

public void clearChoices ()

Since: API Level 2.0

Clears any choices previously set

public void clearTextFilter ()

Since: API Level 2.0

Clears the text filter.

public void enableAnimation (int anim_id, boolean enable)

Since: API Level 2.0

Enables or disables one kind of animation; default : enable all animations HtcAbsListView.ANIM_OVERSCROLL, ANIM_INTRO, ANIM_CLICK, ANIM_ADD, ANIM_DEL; can use bit operation, e.g.: ANIM_OVERSCROLL & ANIM_INTRO

Parameters
anim_id HtcAbsListView.ANIM_OVERSCROLL, ANIM_INTRO, ANIM_CLICK, ANIM_ADD, ANIM_DEL;
enable true or false

public int getCheckedItemCount ()

Since: API Level 4.0

Returns the number of items currently selected. This will only be valid if the choice mode is not CHOICE_MODE_NONE (default).

To determine the specific items that are currently selected, use one of the getChecked* methods.

Returns
  • The number of items currently selected

public int getCheckedItemPosition ()

Since: API Level 2.0

Returns the currently checked item. The result is only valid if the choice mode has been set to CHOICE_MODE_SINGLE.

Returns
  • The position of the currently checked item or INVALID_POSITION if nothing is selected

public SparseBooleanArray getCheckedItemPositions ()

Since: API Level 2.0

Returns the set of checked items in the list. The result is only valid if the choice mode has not been set to CHOICE_MODE_NONE.

Returns
  • A SparseBooleanArray which will return true for each call to get(int position) where position is a position in the list, or null if the choice mode is set to CHOICE_MODE_NONE.

public int getListPaddingBottom ()

Since: API Level 2.0

List padding is the maximum of the normal view's padding and the padding of the selector.

Returns
  • The bottom list padding.
See Also

public int getListPaddingTop ()

Since: API Level 2.0

List padding is the maximum of the normal view's padding and the padding of the selector.

Returns
  • The top list padding.
See Also

public View getSelectedView ()

Since: API Level 2.0

Returns
  • The view corresponding to the currently selected item, or null if nothing is selected

public int getTranscriptMode ()

Since: API Level 2.0

Returns the current transcript mode.

public void invalidateViews ()

Since: API Level 2.0

Causes all the views to be rebuilt and redrawn.

public boolean isFastScrollEnabled ()

Since: API Level 2.0

Returns the current state of the fast scroll feature.

Returns
  • true if fast scroll is enabled, false otherwise

public boolean isItemChecked (int position)

Since: API Level 2.0

Returns the checked state of the specified position. The result is only valid if the choice mode has been set to CHOICE_MODE_SINGLE or CHOICE_MODE_MULTIPLE.

Parameters
position The item whose checked state to return
Returns
  • The item's checked state or false if choice mode is invalid

public void onRestoreInstanceState (Parcelable state)

Since: API Level 2.0

public Parcelable onSaveInstanceState ()

Since: API Level 2.0

public void onTextChanged (CharSequence s, int start, int before, int count)

Since: API Level 2.0

For our text watcher that is associated with the text filter. Performs the actual filtering as the text changes, and takes care of hiding and showing the popup displaying the currently entered filter text.

public int pointToPosition (int x, int y)

Since: API Level 2.0

Maps a point to a position in the list.

Parameters
x X in local coordinate
y Y in local coordinate
Returns
  • The position of the item which contains the specified point, or INVALID_POSITION if the point does not intersect an item.

public void requestDisallowInterceptTouchEvent (boolean disallowIntercept)

Since: API Level

public void requestLayout ()

Since: API Level

public void setAddAnimationListener (HtcAbsListView.AddAnimationListener listener)

Since: API Level 4.0

Registers the add animation listener

public void setBottomBorderHeight (int height)

Since: API Level 2.0

Sets bottom border height of listview.

Parameters
height Height of bottom border.

public void setBottomDivider (Drawable dr)

Since: API Level 2.0

Sets Drawable of bottom divider.

Parameters
dr Drawable to be drawn for bottom divider.

public void setBottomRound (Drawable dr)

Since: API Level 2.0

public void setBouncingEnabled (boolean enable)

Since: API Level 2.0

public void setCacheColorHint (int color)

Since: API Level 2.0

When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background. Zero means that what's behind this object is translucent (non solid) or is not made of a single color. This hint will not affect any existing background drawable set on this view ( typically set via setBackgroundDrawable(Drawable)).

Parameters
color The background color

public void setChoiceMode (int choiceMode)

Since: API Level 2.0

Defines the choice behavior for the List. By default, Lists do not have any choice behavior (CHOICE_MODE_NONE). By setting the choiceMode to CHOICE_MODE_SINGLE, the List allows up to one item to be in a chosen state. By setting the choiceMode to CHOICE_MODE_MULTIPLE, the list allows any number of items to be chosen.

Parameters
choiceMode One of CHOICE_MODE_NONE, CHOICE_MODE_SINGLE, or CHOICE_MODE_MULTIPLE

public void setDeleteAnimationListener (HtcAbsListView.DeleteAnimationListener listener)

Since: API Level 4.0

Registers the delete animation listener

public void setDrawSelectorOnTop (boolean onTop)

Since: API Level 2.0

Controls whether the selection highlight drawable should be drawn on top of the item or behind it.

Related XML Attributes
Parameters
onTop If true, the selector will be drawn on the item it is highlighting. The default is false.

public void setFastScrollEnabled (boolean enabled)

Since: API Level 2.0

Enables fast scrolling by letting the user quickly scroll through lists by dragging the fast scroll thumb. The adapter attached to the list may want to implement SectionIndexer if it wishes to display alphabet preview and jump between sections of the list.

Parameters
enabled Whether or not to enable fast scrolling

public void setIntroAnimationListener (HtcAbsListView.IntroAnimationListener listener)

Since: API Level 2.0

Registers the intro animation listener

public void setItemChecked (int position, boolean value)

Since: API Level 2.0

Sets the checked state of the specified position. The is only valid if the choice mode has been set to CHOICE_MODE_SINGLE or CHOICE_MODE_MULTIPLE.

Parameters
position The item whose checked state is to be checked
value The new checked state for the item

public void setOnScrollListener (HtcAbsListView.OnScrollListener l)

Since: API Level 2.0

Sets the listener that will receive notifications every time the list scrolls.

Parameters
l The scroll listener

public void setRecyclerListener (HtcAbsListView.RecyclerListener listener)

Since: API Level 2.0

Sets the recycler listener to be notified whenever a View is set aside in the recycler for later reuse. This listener can be used to free resources associated to the View.

Parameters
listener The recycler listener to be notified of views set aside in the recycler.
See Also

public void setScrollToAddedPositionListener (HtcAbsListView.scrollToAddedPositionListener listener)

Since: API Level 4.0

Registers the smooth scroll listener for add animation

public void setScrollingCacheEnabled (boolean enabled)

Since: API Level 2.0

Enables or disables the children's drawing cache during a scroll. By default, the drawing cache is enabled but this will use more memory. When the scrolling cache is enabled, the caches are kept after the first scrolling. You can manually clear the cache by calling setChildrenDrawingCacheEnabled(boolean).

Parameters
enabled true to enable the scroll cache, false otherwise
See Also

public void setSelector (Drawable sel)

Since: API Level 2.0

public void setSelector (int resID)

Since: API Level 2.0

Sets a Drawable that should be used to highlight the currently selected item.

Related XML Attributes
Parameters
resID A Drawable resource to use as the selection highlight.

public void setSmoothScrollbarEnabled (boolean enabled)

Since: API Level 2.0

When smooth scrollbar is enabled, the position and size of the scrollbar thumb is computed based on the number of visible pixels in the visible items. This however assumes that all list items have the same height. If you use a list in which items have different heights, the scrollbar will change appearance as the user scrolls through the list. To avoid this issue, you need to disable this property. When smooth scrollbar is disabled, the position and size of the scrollbar thumb is based solely on the number of items in the adapter and the position of the visible items inside the adapter. This provides a stable scrollbar as the user navigates through a list of items with varying heights.

Related XML Attributes
Parameters
enabled Whether or not to enable smooth scrollbar.

public void setTextFilterEnabled (boolean textFilterEnabled)

Since: API Level 2.0

Enables or disables the type filter window. If enabled, typing when this view has focus will filter the children to match the users input. Note that the Adapter used by this view must implement the Filterable interface.

Parameters
textFilterEnabled true to enable type filtering, false otherwise
See Also

public void setTopBorderHeight (int height)

Since: API Level 2.0

Sets top border height of listview.

Parameters
height Sets height of top border.

public void setTopDivider (Drawable dr)

Since: API Level 2.0

public void setTopRound (Drawable dr)

Since: API Level 2.0

public void setTranscriptMode (int mode)

Since: API Level 2.0

Puts the list or grid into transcript mode. In this mode the list or grid will always scroll to the bottom to show new items.

Parameters
mode The transcript mode to set

public void smoothScrollBy (int distance, int duration)

Since: API Level 2.0

Smoothly scrolls by distance pixels over duration milliseconds.

Parameters
distance Distance to scroll in pixels.
duration Duration of the scroll animation in milliseconds.

public void smoothScrollToPositionFromTop (int position, int offset)

Since: API Level 4.0

Smoothly scrolls to the specified adapter position. The view will scroll such that the indicated position is displayed offset pixels from the top edge of the view. If this is impossible, (e.g. the offset would scroll the first or last item beyond the boundaries of the list) it will get as close as possible.

Parameters
position Position to scroll to
offset Desired distance in pixels of position from the top of the view when scrolling is finished

public void startIntroAnimation ()

Since: API Level 2.0

Plays the intro animation

Protected Methods

protected void handleDataChanged ()

Since: API Level 2.0

protected void onFling (int initialVelocity)

Since: API Level 2.0

Performs the fling action with the velocity initialVelocity

Parameters
initialVelocity The fling velocity

protected void onLayout (boolean changed, int l, int t, int r, int b)

Since: API Level 2.0

Subclasses should NOT override this method but #layoutChildren() instead.

protected void onSizeChanged (int w, int h, int oldw, int oldh)

Since: API Level