LAMW AppCompactCollapsingToolbarDemo1 error [SOLVED]
lazarus / 43-Android
----------------------------------------------------------------------
Segator · 2020-11-15 16:26
The demo project just crash when try to run some times ago and in the
line 168 of uni1.pas are some little error.
----------------------------------------------------------------------
Segator · 2020-11-15 17:03
I think that is the jsAppBarLayout component, my app use it to and now
crash with the new lamw
----------------------------------------------------------------------
Segator · 2020-11-15 17:14
not, definitely is the jsToolbar component the problem.
----------------------------------------------------------------------
jmpessoa · 2020-11-16 02:14
Here it don't crashed.... but not work correctly... I see only the
image and all blue screen...
----------------------------------------------------------------------
jmpessoa · 2020-11-16 03:58
Well, I upload a new "working" demo:
"AppCompatNavigationDrawerDemo2".
Now I will try fix the "AppCompactCollapsingToolbarDemo1".
Thank you!
[Edited]
Fixed!!!!
----------------------------------------------------------------------
Segator · 2020-11-16 15:57
I use a combination of navigation drawer and tablayout in my app, it
work good before the androidx changes, now the app build but crash,
the demo is fixed but my app continue crashing, see a video of my app
with navigation drawer and tablayout https://youtu.be/xEFwpQv3uuU
Edited: i am testing other components that i use for the app in the
demos to found what component is the problem.
----------------------------------------------------------------------
jmpessoa · 2020-11-16 16:31
Quote https://youtu.be/xEFwpQv3uuU
Nice!
Congratulations!!!
----------------------------------------------------------------------
Segator · 2020-11-16 19:11
QuoteNice!
Congratulations!!!thanks.
finally i solve my app problem, is not an componet problem, is an
android.manifest problem, after the androidx changes this is
incompatible:
Code: Pascal [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i
so i change to
Code: Pascal [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i
----------------------------------------------------------------------
jmpessoa · 2020-11-16 20:12
Good work!
I will try improve LAMW to update/convert this automatically.
Thank you!
[Edited] Done!!!