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

test

Written by Obdscantech

List of types:

CustomListView4

CustomListView4


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

Events:

None

Members:


  Add (Pnl As PanelWrapper, ItemHeight As Int, ItemHeight2 As Int, Value As Object, blnMenu As Boolean, blnSelection As Boolean, SelectionColor As String) As String

  AddTextItem (Text As String, Text2 As String, Value As Object, ImageName As String, ImageColor As String, GravityLine1 As Int, GravityLine2 As Int, blnMenu As Boolean, blnOverflow As Boolean, OverFlowColor As String, blnSelection As Boolean, SelectionColor As String) As String

  AnimDuration As String

  AsView As ConcreteViewWrapper

  blnAnimPlus As Boolean

  BottomItem As Int

  Class_Globals As String

  Clear As String

  GetItemFromView (v As ConcreteViewWrapper) As String

  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, ItemHeight2 As Int, Value As Object, blnMenu As Boolean, blnSelection As Boolean, SelectionColor As String) As String

  InsertAtTextItem (Index As Int, Text As String, Text2 As String, Value As Object, ImageName As String, ImageColor As String, GravityLine1 As Int, GravityLine2 As Int, blnMenu As Boolean, blnOverflow As Boolean, OverFlowColor As String, blnSelection As Boolean, SelectionColor As String) As String

  IsInitialized As Boolean

  JumpToItem (Index As Int) As String

  RemoveAt (Index As Int) As String

  SetDividerColor (Color As Int) As String

  SetDividerColorMargin (blnValue As Boolean) As String

  SetDividerHeight (Val As Int) As String

  SetIconSize (Val As Int) As String

  SetIconSizeMenu (Val As Int) As String

  SetIconSizeOverflow (Val As Int) As String

  SetText2Font (FontType As TypefaceWrapper) As String

  SetText2FontColor (Color As Int) As String

  SetText2FontMenuColor (Color As Int) As String

  SetText2FontMenuSize (Size As Int) As String

  SetText2FontSize (Size As Int) As String

  SetText2MenuFont (FontType As TypefaceWrapper) As String

  SetTextBackgroundColor (Color As Int) As String

  SetTextBackgroundMenuColor (Color As Int) As String

  SetTextFont (FontType As TypefaceWrapper) As String

  SetTextFontColor (Color As Int) As String

  SetTextFontMenuColor (Color As Int) As String

  SetTextFontMenuSize (Size As Int) As String

  SetTextFontSize (Size As Int) As String

  SetTextMenuFont (FontType As TypefaceWrapper) As String

  Tag As String

  TagPath As String

  TopItem As Int

  UpdateTextItem (Index As Int, Text As String, Text2 As String, Value As Object, ImageName As String, ImageColor As String, GravityLine1 As Int, GravityLine2 As Int, blnMenu As Boolean, blnOverflow As Boolean, OverFlowColor As String, blnSelection As Boolean, SelectionColor As String) As String

Members description:

Add (Pnl As PanelWrapper, ItemHeight As Int, ItemHeight2 As Int, Value As Object, blnMenu As Boolean, blnSelection As Boolean, SelectionColor As String) As String
Adds a custom item.
AddTextItem (Text As String, Text2 As String, Value As Object, ImageName As String, ImageColor As String, GravityLine1 As Int, GravityLine2 As Int, blnMenu As Boolean, blnOverflow As Boolean, OverFlowColor As String, blnSelection As Boolean, SelectionColor As String) As String
Text = adds the text in first line
Text2 = adds the text in Second line
Value: will be returned in the Click, LongClick and Overflow event
ImageName: is part of Material Icons Library and will be set to the far left panel. See website for more info with names. https://materialdesignicons.com/
ImageColor: Example - Colors.Red (Use with ImageName = Some Icon Name)
GravityLine1: is for aligning First Text line. Put 0 if not used
GravityLine2: is for aligning Second Text line. Put 0 if not used
blnMenu: If True it will use the Menu properities. If False it will use the non Menu Properties
blnOverflow: If True it will add an Overflow Image at the far right at 40dip default. Use "xxx_OverFlowMenu_ItemClick (Index As Int, Value As Object)". xxx is the eventname of the object
OverFlowColor: Example - Colors.Black. (Use with blnOverFlow = true)
blnSelection: If True will show highligh. False will not
SelectionColor: Example - Colors.Blue. If SelectionColor = "" will set to Android Default color (Use with blnSelection = true)
AnimDuration As String
AsView As ConcreteViewWrapper
Returns a view object that holds the list.
blnAnimPlus As Boolean
BottomItem As Int
Get the bottom item index
Class_Globals As String
Clear As String
Clears all items.
GetItemFromView (v As ConcreteViewWrapper) As String
Returns the index of the item that holds the given view.
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
Example - lstView.Initialize(Me, "lstView")
InsertAt (Index As Int, Pnl As PanelWrapper, ItemHeight As Int, ItemHeight2 As Int, Value As Object, blnMenu As Boolean, blnSelection As Boolean, SelectionColor As String) As String
Adds a custom item at the specified index.
InsertAtTextItem (Index As Int, Text As String, Text2 As String, Value As Object, ImageName As String, ImageColor As String, GravityLine1 As Int, GravityLine2 As Int, blnMenu As Boolean, blnOverflow As Boolean, OverFlowColor As String, blnSelection As Boolean, SelectionColor As String) 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.
RemoveAt (Index As Int) As String
Removes the item at the specified index.
SetDividerColor (Color As Int) As String
Divider color
SetDividerColorMargin (blnValue As Boolean) As String
SetDividerHeight (Val As Int) As String
Divider height (0 to 40) dip
SetIconSize (Val As Int) As String
Icon Size (25 to 150) dip
SetIconSizeMenu (Val As Int) As String
Icon Menu Size (25 to 150) dip
SetIconSizeOverflow (Val As Int) As String
Icon Overflow Size (25 to 150) dip
SetText2Font (FontType As TypefaceWrapper) As String
Second Line Font Type
SetText2FontColor (Color As Int) As String
Second line font color
SetText2FontMenuColor (Color As Int) As String
Second line font menu color
SetText2FontMenuSize (Size As Int) As String
Second line font Menu size
SetText2FontSize (Size As Int) As String
Second line font size
SetText2MenuFont (FontType As TypefaceWrapper) As String
Second Line Font Menu Type
SetTextBackgroundColor (Color As Int) As String
Text background color
SetTextBackgroundMenuColor (Color As Int) As String
Text background menu color
SetTextFont (FontType As TypefaceWrapper) As String
First Line Font Type
SetTextFontColor (Color As Int) As String
First line font color
SetTextFontMenuColor (Color As Int) As String
First line font mnenu color
SetTextFontMenuSize (Size As Int) As String
First Line font Menu Size
SetTextFontSize (Size As Int) As String
First line font size
SetTextMenuFont (FontType As TypefaceWrapper) As String
First Line Font Menu Type
Tag As String
TagPath As String
TopItem As Int
Get the top item index
UpdateTextItem (Index As Int, Text As String, Text2 As String, Value As Object, ImageName As String, ImageColor As String, GravityLine1 As Int, GravityLine2 As Int, blnMenu As Boolean, blnOverflow As Boolean, OverFlowColor As String, blnSelection As Boolean, SelectionColor As String) As String
Updates a custom item at the specified index.

Top