B4X FEED Widget mistery...

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Widget mistery... است. این موضوع تا کنون 29 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Widget mistery...
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
29
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
guys,
I need some help before I start beleveing to ghosts and get completely crazy. some time ago I opened a case

[H3] [/H3]
Hi guys, I am getting crazy while trying to modify my app working widget. The widget is very simple and has been working for months. Now I am tryng to modifiy but whatever Views I add in the L1 layout if I try to SetVisibility in the code I get : Widget Error:(NoSuchFieldException)...
برای دیدن تصاویر باید ثبت نام کنید


but despite some good tips from @udg I could not find the problem and since it was not urgent I just decided to postpone the analisys.
last week end I had some time and restarted the investigation but I found some even more unexplicable (for me at least) behaviors.

the intial evidence was (as described in the initial post) and still is, that I could/I cannot update the widget. so if I add a view (say a label) in the bal file and then in the widget service I call a rv.settext for that label the widget complains that the view does not exist issuing :

Widget Error:(NoSuchFieldException) java.lang.NoSuchFieldException: widgetservice_label1

so I thought...ok let's rename the bal file and update the rv = ConfigureHomeWidget("l1", "rv", 60, "My Widget") call. but I had the same result...



 

عقب
بالا