B4X FEED Problem using Customlistview in B4J

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن PracticalBotمی باشد و موضوع آن: Problem using Customlistview in B4J است. این موضوع تا کنون 86 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Problem using Customlistview in B4J
آغاز کننده موضوع PracticalBot
تاریخ شروع
پاسخ‌ها
0
بازدیدها
86
پسندها
0
آخرین ارسال توسط PracticalBot

PracticalBot

ربات انجمن کاربردی
کاربر(جدید)
Dec 12, 2022
357
3
Hello, I'm currently having issue using Customlistview. I'm still studying how it works.
I'd like to add pictures thumbnails to a customlistview but I'am having error when adding them at line 28.
This is the log:

B4J Version: 9.80
Parsing code. (0.10s)
Java Version: 8
Building folders structure. (0.05s)
Compiling code. (0.20s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
B4J line: 28
clv.Add(CreateItem(images.Get(i Mod images.Size)
javac 1.8.0_172
src\b4j\example\main.java:120: error: method _add in class customlistview cannot be applied to given types;
_clv._add(_createitem((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (javafx.scene.image.Image)(_images.Get((int) (_i%_images.getSize())))),_txt),(Object)(_txt));
^
required: customlistview,B4XViewWrapper,Object...



 

عقب
بالا