B4A Library [B4X] [XUI] AS Scrolling Tags based on xCustomListView - Display your Hashtags or Categories

Alexander Stolte

Expert
Licensed User
I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal. :)
B4j: jXUI,xCustomListView
B4a: XUi,xCustomListView
B4i: iXUI,xCustomListView
Screenshot_20201013-151952.jpg
ezgif.com-resize.gif


ASScrollingTags
Author: Alexander Stolte
Version: 1.00

  • ASST_LabelProperties
    • Fields:
      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • TextAlignment_Horizontal As String
      • TextAlignment_Vertical As String
      • TextColor As Int
      • xFont As B4XFont
    • Functions:
      • Initialize
        Initializes the fields to their default value.
  • ASScrollingTags
    • Events:
      • ItemClick (Index As Int, Value As Object)
      • ItemLongClick (Index As Int, Value As Object)
    • Fields:
      • mBase As B4XView
      • Tag As Object
    • Functions:
      • AddTag (text As String, background_color As Int, Value As Object) As String
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • GetBackgroundAt (index As Int) As B4XView
      • getCLV As b4a.example3.customlistview
      • GetLabelAt (index As Int) As B4XView
      • getLabelProperties As ASST_LabelProperties
        change the label properties, call it before you add tags
        <code>ASScrollingTags1.LabelProperties.xFont = xui.CreateDefaultBoldFont(15)</code>
      • Initialize (Callback As Object, EventName As String) As String
      • IsInitialized As Boolean
        Tests whether the object has been initialized.
    • Properties:
      • CLV As b4a.example3.customlistview [read only]
      • LabelProperties As ASST_LabelProperties [read only]
        change the label properties, call it before you add tags
        <code>ASScrollingTags1.LabelProperties.xFont = xui.CreateDefaultBoldFont(15)</code>
Changelog
  • 1.00
    • Release
  • 1.01
    • BugFix - labels with different heights
Have Fun :)
 

Attachments

Last edited:
Top