Recent

Author Topic: [SOLVED] Strange behavior with LAMW and jListView on Linux.  (Read 2305 times)

guaracy

  • New Member
  • *
  • Posts: 14
[SOLVED] Strange behavior with LAMW and jListView on Linux.
« on: September 19, 2021, 04:41:31 pm »
I did a fresh install on Linux using LAMWManager-linux

All demos in ../demos/GUI/AppListViewDemo[n] works fine.
Almost all. AppListViewDemo7 does't work. I need to change line 61 in "unit1"

from: densidad := jCanvas1.Density.ToString.ToInteger;
to:   densidad := Trunc(jCanvas1.Density);


Problem:

If i start a new project and insert a jListView control on form i get an error when build "[LAMW] Build Android Apk an Run" (sorry, i cant tell you the error because in linux the terminal is suddenly closed). If i delete jListView, all works fine again.

but

if i open a demo e.g. AppListViewDemo5, and put another jListView on form, i can build and run the AppListViewDemo5 without problems.

Tanks
« Last Edit: October 12, 2021, 07:17:21 pm by guaracy »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2296
Re: Strange behavior with LAMW and jListView on Linux.
« Reply #1 on: September 19, 2021, 06:10:03 pm »
I will try some fix!

Thank you!

Edited: FIXED!

Now 'jListView.java" template is OK for "old" and "new" project!
« Last Edit: September 19, 2021, 08:08:35 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

guaracy

  • New Member
  • *
  • Posts: 14
Re: Strange behavior with LAMW and jListView on Linux.
« Reply #2 on: September 20, 2021, 04:59:49 pm »
Thank you.

 

TinyPortal © 2005-2018