Android Programming Press on the image to return to the main documentation page.

CustomListView

List of types:

CustomListView

CustomListView


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

ItemClick (Index As Int, Value As Object)
ReachEnd

Members:


  Add (Pnl As PanelWrapper, ItemHeight As Int, Value As Object) As String

  AddTextItem (Text As Object, Value As Object) As String

  AnimationDuration As Int

  AsView As ConcreteViewWrapper

  Class_Globals As String

  Clear As String

  DefaultTextBackgroundColor As Int

  DefaultTextColor As Int

  DefaultTextSize As Int

  DesignerCreateView (base As PanelWrapper, lbl As LabelWrapper, props As Map) As String

  FirstVisibleIndex As Int [read only]

  getFirstVisibleIndex As Int

  GetItemFromView (v As ConcreteViewWrapper) As Int

  getLastVisibleIndex As Int

  GetPanel (Index As Int) As PanelWrapper

  GetSize As Int

  GetValue (Index As Int) As Object

  Initialize (vCallback As Object, vEventName As String) As String

  InsertAt (Index As Int, pnl As PanelWrapper, ItemHeight As Int, Value As Object) As String

  InsertAtTextItem (Index As Int, Text As Object, Value As Object) As String

  IsInitialized As Boolean

  JumpToItem (Index As Int) As String

  LastVisibleIndex As Int [read only]

  RemoveAt (Index As Int) As String

  ReplaceAt (Index As Int, pnl As PanelWrapper, ItemHeight As Int, Value As Object) As String

  ResizeItem (Index As Int, ItemHeight As Int) As String

  ScrollToItem (Index As Int) As String

  sv As ScrollViewWrapper

Members description:

Add (Pnl As PanelWrapper, ItemHeight As Int, Value As Object) As String
Adds a custom item.
AddTextItem (Text As Object, Value As Object) As String
Adds a text item. The item height will be adjusted based on the text.
AnimationDuration As Int
AsView As ConcreteViewWrapper
Returns a view object that holds the list.
Class_Globals As String
Clear As String
Clears all items.
DefaultTextBackgroundColor As Int
DefaultTextColor As Int
DefaultTextSize As Int
DesignerCreateView (base As PanelWrapper, lbl As LabelWrapper, props As Map) As String
FirstVisibleIndex As Int [read only]
Gets the index of the first visible item.
getFirstVisibleIndex As Int
Gets the index of the first visible item.
GetItemFromView (v As ConcreteViewWrapper) As Int
Returns the index of the item that holds the given view.
getLastVisibleIndex As Int
Gets the index of the last visible item.
GetPanel (Index As Int) As PanelWrapper
Returns the Panel stored at the specified index.
GetSize As Int
Returns the number of items.
GetValue (Index As Int) As Object
Returns the value stored at the specified index.
Initialize (vCallback As Object, vEventName As String) As String
InsertAt (Index As Int, pnl As PanelWrapper, ItemHeight As Int, Value As Object) As String
Adds a custom item at the specified index.
InsertAtTextItem (Index As Int, Text As Object, Value As Object) As String
Inserts a text item at the specified index.
IsInitialized As Boolean
Tests whether the object has been initialized.
JumpToItem (Index As Int) As String
Scrolls the list to the specified item (without animating the scroll).
LastVisibleIndex As Int [read only]
Gets the index of the last visible item.
RemoveAt (Index As Int) As String
Removes the item at the specified index.
ReplaceAt (Index As Int, pnl As PanelWrapper, ItemHeight As Int, Value As Object) As String
Replaces the item at the specified index with a new item.
ResizeItem (Index As Int, ItemHeight As Int) As String
Changes the height of an existing item.
ScrollToItem (Index As Int) As String
Smoothly scrolls the list to the specified item.
sv As ScrollViewWrapper

Top