- Dec 12, 2022
- 357
- 2
Just starting with B4XPages and noticed that ResumableSub is not behaving the same as in a non B4XPages project.
In an activity based project I can run this from Main with no problem:
B4X:
and I can use the produced list fine.
In a B4XPages project though I get this error:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to anywheresoftware.b4a.BA$ResumableSub
If I run this not as a ResumableSub:
B4X:
There is no problem.
Is this a known limitation of B4XPages or am I doing something wrong?
RBS
In an activity based project I can run this from Main with no problem:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
and I can use the produced list fine.
In a B4XPages project though I get this error:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to anywheresoftware.b4a.BA$ResumableSub
If I run this not as a ResumableSub:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
There is no problem.
Is this a known limitation of B4XPages or am I doing something wrong?
RBS
برای دیدن لینک ها باید ثبت نام کنید