ListView

ListView is a very useful view that can handle large and small lists.

Events:

ItemClick (Position As Int, Value As Object)
ItemLongClick (Position As Int, Value As Object)

Members:

  AddSingleLine (Text As String)
  AddSingleLine2 (Text As String, ReturnValue As Object)
  AddTwoLines (Text1 As String, Text2 As String)
  AddTwoLines2 (Text1 As String, Text2 As String, ReturnValue As Object)
  AddTwoLinesAndBitmap (Text1 As String, Text2 As String, Bitmap As android.graphics.Bitmap)
  AddTwoLinesAndBitmap2 (Text1 As String, Text2 As String, Bitmap As android.graphics.Bitmap, ReturnValue As Object)
  Background As android.graphics.drawable.Drawable
  BringToFront
  Clear
  Color As Int  [write only]
  Enabled As Boolean
  FastScrollEnabled As Boolean
  GetItem (Index As Int) As Object
  Height As Int
  Initialize (EventName As String)
  Invalidate
  Invalidate2 (Rect As android.graphics.Rect)
  Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)
  IsInitialized As Boolean
  Left As Int
  RemoveAt (Index As Int)
  RemoveView
  RequestFocus As Boolean
  ScrollingBackgroundColor As Int  [write only]
  SendToBack
  SetBackgroundImage (Bitmap As android.graphics.Bitmap)
  SetLayout (Left As Int, Top As Int, Width As Int, Height As Int)
  SetSelection (Position As Int)
  SingleLineLayout As SingleLineLayout  [read only]
  Size As Int  [read only]
  Tag As Object
  Top As Int
  TwoLinesAndBitmap As TwoLinesAndBitmapLayout  [read only]
  TwoLinesLayout As TwoLinesLayout  [read only]
  Visible As Boolean
  Width As Int