I need to learn how create xui CustomView (my code about promptpay has been corrected, but I would love to be easy for use again and again), I think If I have infrastructure libraries For Thai developers , Perhaps theywill be interested in B4X instead of Flutters.(I need to create a suitable environment for Thai developers.)What do you want to do?
Create a new kind of customlistview or add the qrcode to the customlistview?
1 - I checked your code and if you want to put a qrcode in a customlistview, do you need to create a layout, load the qrcode in it and load the layout in the customlistview.
There are a huge amount of examples using customlistview in the forum.
2 - put the link to the libraries that you use in the example, to make it easier to help you:
AwesomeQRCode
A (partly) wrap for this Github project. Sure you will know what to do with the attached files (eg jar's and xml's). Also posting the Java code for whoever wants to do anything else with it. Sample Code: #Region Project Attributes #ApplicationLabel: b4aAwesomeQRCode_1...www.b4x.com
OK. Is Custom View and not CustomListView.I need to learn how create xui CustomView (my code about promptpay has been corrected, but I would love to be easy for use again and again), I think If I have infrastructure libraries For Thai developers , Perhaps theywill be interested in B4X instead of Flutters.(I need to create a suitable environment for Thai developers.)
I can't read English very well, so I apologize if Google Translate is wrong. I tried to experiment with creating a simple CustomView first to understand how to create it. Try to study the libraries of many specialists, but since their libraries is too complex to understand. In Thailand, mobile banking is preferred rather than using credit/debit cards. I think this kind of library should be there. The main purpose is to facilitate new developers. No need to re-developOK. Is Custom View and not CustomListView.
I understand wrong. Sorry.
AwesomeQRCode is a custom view.
Maybe you need to change the approach to use it, instead to create another custom view from this view.
And could be start here:
[B4X] Custom Views with Enhanced Designer Support
Custom views are implemented as B4X classes or in a library. A custom view includes a set of properties that can be set from the visual designer. Note that the visual designer will show a box instead of the actual view. Using custom views is very simple. You need to add the class or library to...www.b4x.com
If you don't understand. Read it again.I have read Klaus' tutorial,but I don't get understand
I still have tried myself., but I don't getunderstand myself.I had print out via papers the expert's code for studying.If you don't understand. Read it again.
If still don't understand. Read it once more.
Then start follow the steps by doing practical, like the saying "make your hand dirty" or do the programming.
You won't learn by just reading without doing.
If you failed first time, it is normal.
Failed second time, it is still normal.
Not everyone success at first time. Some people took 10 or 100 times to success.
When you haven't learn to walk, do it by crawling, Don't jump or run.
Make small changes and experiments.
Isn't this is basic of learning?
It is not easy to create a B4A library if you are not familiar with Java and the topic you are targeting, in this case the QR code.I still have tried myself., but I don't getunderstand myself.I had print out via papers the expert's code for studying.
I found the problem john's library supported only B4A,so I must study other library instead before. My sourcecode used to test passed about promptpay already.It is not easy to create a B4A library if you are not familiar with Java and the topic you are targeting, in this case the QR code.
Have you created any library in B4Xlib format?
Try create one which depends on another library.
Once you have mastered the skill of developing simple libraries then only go for more complex library.
You also want to support B4i? As I know you don't use B4i.I found the problem john's library supported only B4A,so I must study other library instead before. My sourcecode used to test passed about promptpay already.
I found Erel's code,and Mr.Kim's Bas Code which supported B4i ,but I still find how to add Image.You also want to support B4i? As I know you don't use B4i.
Why not you create a new question on how to add image (if you really cannot find the answer)?I found Erel's code,and Mr.Kim's Bas Code which supported B4i ,but I still find how to add Image.
Erel's code have the feature for adding Image in qrcode already,but I would like to try searching others.Why not you create a new question on how to add image (if you really cannot find the answer)?
Most likely there are already some answers on the forum.
Why wasting your time "reinventing the wheel" ?Erel's code have the feature for adding Image in qrcode already,but I would like to try searching others.
The real goal is to create a QrcodePromptPay library. for Thai DevelpersevelperThe real goal is to create a QrcodePromptPay library. for Thai develpers that is facilitate them. And Istill need create Cutting Thai words in sentence in order to non-Thai can learn speak Thai language.I have just found Java code which python, jsscript each has it, but B4X has not.Why wasting your time "reinventing the wheel" ?
What feature is that example lacking of?
You mean the example project provided by Erel does not solve your issue?The real goal is to create a QrcodePromptPay library. for Thai DevelpersevelperThe real goal is to create a QrcodePromptPay library. for Thai develpers that is facilitate them. And Istill need create Cutting Thai words in sentence in order to non-Thai can learn speak Thai language.I have just found Java code which python, jsscript each has it, but B4X has not.
I get understand coding slowly. I'm not good at coding and English. It's not about directly. Let me study Erel's code about B4X QRcode before.You mean the example project provided by Erel does not solve your issue?
Can you tell which part?