public class

DuxAutoScrollListView

extends DuxListView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.AdapterView<T extends android.widget.Adapter>
         ↳ android.widget.AbsListView
           ↳ android.widget.ListView
             ↳ com.droidux.pack.list.widget.DuxListView
               ↳ com.droidux.pack.list.widget.DuxAutoScrollListView

Class Overview

A DuxListView that support request to bring certain position to view.

Summary

Nested Classes
interface DuxAutoScrollListView.OnScrollChangedListener Listener to be called when the view's internal scroll has changed. 
[Expand]
Inherited Constants
From class android.widget.AbsListView
From class android.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
From interface android.widget.AbsListView.OnScrollListener
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
DuxAutoScrollListView(Context context)
DuxAutoScrollListView(Context context, AttributeSet attrs)
DuxAutoScrollListView(Context context, AttributeSet attrs, int defStyle)
Public Methods
void requestPositionToScreen(int position, boolean smoothScroll)
Brings the specified position to view.
void setOnScrollChangedListener(DuxAutoScrollListView.OnScrollChangedListener listener)
Sets the listener to be called when the internal scroll has changed.
[Expand]
Inherited Methods
From class com.droidux.pack.list.widget.DuxListView
From class android.widget.ListView
From class android.widget.AbsListView
From class android.widget.AdapterView
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.text.TextWatcher
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.AbsListView.OnScrollListener
From interface android.widget.Filter.FilterListener

Public Constructors

public DuxAutoScrollListView (Context context)

Since: API Level 2.5

public DuxAutoScrollListView (Context context, AttributeSet attrs)

Since: API Level 2.5

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

Since: API Level 2.5

Public Methods

public void requestPositionToScreen (int position, boolean smoothScroll)

Since: API Level 2.5

Brings the specified position to view. The smoothScroll parameter requires API-11. When running on pre API-11, the smoothScroll is ignored.

Parameters
position The position to be brought into view.
smoothScroll If true, the position will be smoothly scrolled into view. On pre API-11 environment, this parameter will be ignored.

public void setOnScrollChangedListener (DuxAutoScrollListView.OnScrollChangedListener listener)

Since: API Level 2.5

Sets the listener to be called when the internal scroll has changed.

Parameters
listener The listener to be called.