Mar 8, 2021 Replies: 46 Hello friends We are happy to have a great community and great friends like you. We do our best to make B4x look more beautiful Today we give you another cross-platform library as a gift 5- UM_SnackBar Author: Ui max_co Version: 1.20 compatible with: B4A,B4i,B4J Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4- UM_BtnLoading Android, ios, desktop .................... .................... Author: Ui max_co Version: 1.20 compatible with: B4A,B4i,B4J Click me to get a sample Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3- UM_TabBar 2 Author: Ui max_co Version: 1.00 compatible with: B4A,B4i,B4J Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2- UM_SearchView .................... Author: Ui max_co Version: 2.50 compatible with: B4A,B4i,B4J Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1- UM_AddToCart Author: Ui max_co Version: 1.27 compatible with: B4A,B4i,B4J Click to see more information If you are satisfied with our work, please donate: [email protected] Ui Max_co Attachments Sample AddToCart.zip Sample AddToCart.zip 14.8 KB · Views: 1,232 Sample SearchView.zip Sample SearchView.zip 14.7 KB · Views: 1,207 UM_TabBar2.b4xlib UM_TabBar2.b4xlib 2.7 KB · Views: 1,108 Sample TabBar2.zip Sample TabBar2.zip 14.7 KB · Views: 1,186 UM_AddToCart.b4xlib UM_AddToCart.b4xlib 3.1 KB · Views: 1,259 UM_BtnLoading.b4xlib UM_BtnLoading.b4xlib 2.7 KB · Views: 1,110 UM_SnackBar.b4xlib UM_SnackBar.b4xlib 1.4 KB · Views: 1,156 UM_searchView.b4xlib UM_searchView.b4xlib 3.8 KB · Views: 1,018 Last edited: Apr 15, 2021 Click to expand...
Hello friends We are happy to have a great community and great friends like you. We do our best to make B4x look more beautiful Today we give you another cross-platform library as a gift 5- UM_SnackBar Author: Ui max_co Version: 1.20 compatible with: B4A,B4i,B4J Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4- UM_BtnLoading Android, ios, desktop .................... .................... Author: Ui max_co Version: 1.20 compatible with: B4A,B4i,B4J Click me to get a sample Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3- UM_TabBar 2 Author: Ui max_co Version: 1.00 compatible with: B4A,B4i,B4J Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2- UM_SearchView .................... Author: Ui max_co Version: 2.50 compatible with: B4A,B4i,B4J Click to see more information - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1- UM_AddToCart Author: Ui max_co Version: 1.27 compatible with: B4A,B4i,B4J Click to see more information If you are satisfied with our work, please donate: [email protected] Ui Max_co
DonManfred Expert Licensed User Longtime User Oct 21, 2021 #41 ramezaniabbas said: This library only works on B4xPages Click to expand... if you add a panel to the activity and use the panel-reference instead of the activity? Does it work then? B4X: message.Show(panel1)
ramezaniabbas said: This library only works on B4xPages Click to expand... if you add a panel to the activity and use the panel-reference instead of the activity? Does it work then? B4X: message.Show(panel1)
Pravee7094 Active Member Oct 21, 2021 #42 DonManfred said: if you add a panel to the activity and use the panel-reference instead of the activity? Does it work then? B4X: message.Show(panel1) Click to expand... Yes. It's worked.
DonManfred said: if you add a panel to the activity and use the panel-reference instead of the activity? Does it work then? B4X: message.Show(panel1) Click to expand... Yes. It's worked.
ramezaniabbas Active Member Licensed User Oct 21, 2021 #43 DonManfred said: if you add a panel to the activity and use the panel-reference instead of the activity? Does it work then? B4X: message.Show(panel1) Click to expand... yes yes Thank you very much my friend '----> If you are using Activity Dim pnl As Panel pnl.Initialize("") Activity.AddView(pnl,0,0,100%x,100%y) Private message As UM_SnacBar message.Initialize message.Text("Be sure to enter the required values in the fields") message.Show(pnl) Click to expand...
DonManfred said: if you add a panel to the activity and use the panel-reference instead of the activity? Does it work then? B4X: message.Show(panel1) Click to expand... yes yes Thank you very much my friend '----> If you are using Activity Dim pnl As Panel pnl.Initialize("") Activity.AddView(pnl,0,0,100%x,100%y) Private message As UM_SnacBar message.Initialize message.Text("Be sure to enter the required values in the fields") message.Show(pnl) Click to expand...
S Sofian Member Feb 21, 2022 #44 ramezaniabbas said: 1- UM_ AddToCart View attachment 110832 *Event: AddSuccess (Count As Int) DelSuccess (Count As Int) *Functions: Class_Globals as String DesignerCreateView (Base As Object, Lbl As Label, Props As Map) GetHintText As String GetNativePanel As Panel GetNumber As Int Initialize (Callback As Object, EventName As String) IsInitialized As Boolean mBase As B4xView SetBuyMAX(Buy_Max As Int) SetHintColor(HintColor As Int) SetHintSize(HintSize As Int) SetHintText(HintText As String) SetIconsSize(IconSize As Int) SetMainColor(Color As Int) SetNumber(Number As Int) SetNumberColor(NumberColor As Int) SetNumberSize(NumberSize As Int) SetFont(MyFont As B4XFont) Tag as Object *End Functions Changelog *1.23 Release *1.26 Fixed a rotation problem on the B4i *1.27 Set Font Click to expand... add to CustomListView to get index : Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index) and runtime error code : Code: java.lang.ClassCastException: com.swk.slx.um_addtocart cannot be cast to android.view.View
ramezaniabbas said: 1- UM_ AddToCart View attachment 110832 *Event: AddSuccess (Count As Int) DelSuccess (Count As Int) *Functions: Class_Globals as String DesignerCreateView (Base As Object, Lbl As Label, Props As Map) GetHintText As String GetNativePanel As Panel GetNumber As Int Initialize (Callback As Object, EventName As String) IsInitialized As Boolean mBase As B4xView SetBuyMAX(Buy_Max As Int) SetHintColor(HintColor As Int) SetHintSize(HintSize As Int) SetHintText(HintText As String) SetIconsSize(IconSize As Int) SetMainColor(Color As Int) SetNumber(Number As Int) SetNumberColor(NumberColor As Int) SetNumberSize(NumberSize As Int) SetFont(MyFont As B4XFont) Tag as Object *End Functions Changelog *1.23 Release *1.26 Fixed a rotation problem on the B4i *1.27 Set Font Click to expand... add to CustomListView to get index : Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index) and runtime error code : Code: java.lang.ClassCastException: com.swk.slx.um_addtocart cannot be cast to android.view.View
ramezaniabbas Active Member Licensed User Feb 21, 2022 #45 Sofian said: add to CustomListView to get index : Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index) and runtime error code : Code: java.lang.ClassCastException: com.swk.slx.um_addtocart cannot be cast to android.view.View Click to expand... Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index).tag
Sofian said: add to CustomListView to get index : Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index) and runtime error code : Code: java.lang.ClassCastException: com.swk.slx.um_addtocart cannot be cast to android.view.View Click to expand... Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index).tag
S Sofian Member Feb 22, 2022 #46 ramezaniabbas said: Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index).tag Click to expand... thanks for reply, same error with additional .tag
ramezaniabbas said: Code: Dim index As Int = CLV1.GetItemFromView(Sender) Dim pnl As B4XView = CLV1.GetPanel(index).tag Click to expand... thanks for reply, same error with additional .tag
Jorge Santamaria Magana Member Jul 29, 2024 #47 Sofian said: thanks for reply, same error with additional .tag Click to expand... Did you manage to resolve this issue? java.lang.ClassCastException: b4a.example.um_addtocart cannot be cast to android.view.View
Sofian said: thanks for reply, same error with additional .tag Click to expand... Did you manage to resolve this issue? java.lang.ClassCastException: b4a.example.um_addtocart cannot be cast to android.view.View