Recent

Author Topic: LAMW How i can set a bitmap to a jreciclerview item  (Read 1526 times)

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
LAMW How i can set a bitmap to a jreciclerview item
« on: April 23, 2021, 07:41:56 pm »
i know that you can do this:
Code: Pascal  [Select][+][-]
  1.  jsRecyclerView1.SetItemContentFormat('image|text|text');
  2.  jsRecyclerView1.Add('help@asset|text1|text2o');
  3.  
but i want to set the image with a bitmap or jbitmap, not from asset or drawable, how i can do that?
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
Re: LAMW How i can set a bitmap to a jreciclerview item
« Reply #1 on: April 26, 2021, 04:04:35 pm »
For better results try using panel + jimageview + with scroll bar -> point on yor desire image directory, very flexible n easier to design on the fly. This apps using panel + jimageview inside scrollview.
« Last Edit: April 26, 2021, 04:25:43 pm by Mongkey »

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
Re: LAMW How i can set a bitmap to a jreciclerview item
« Reply #2 on: April 27, 2021, 06:08:07 pm »
Quote
For better results try using panel + jimageview + with scroll bar -> point on yor desire image directory, very flexible n easier to design on the fly. This apps using panel + jimageview inside scrollview.

yes is an option but not good for several items like all app instaled in the system and the icons, am working with ListView now:
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
Re: LAMW How i can set a bitmap to a jreciclerview item
« Reply #3 on: April 28, 2021, 10:08:03 am »
 :D, wow that is an amazing apps.

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
Re: LAMW How i can set a bitmap to a jreciclerview item
« Reply #4 on: April 29, 2021, 02:55:20 pm »
Quote
:D, wow that is an amazing apps.
thanks, your app looks good too, its posible load a imagen for externar extorage so we can save the jbipmap to the disk and then load it, it's slow at start but for the next load is like a cache images.
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
Re: LAMW How i can set a bitmap to a jreciclerview item
« Reply #5 on: April 30, 2021, 12:06:48 pm »
I found this, may be it posible load image from sdcard.

Mongkey

  • Sr. Member
  • ****
  • Posts: 430
Re: LAMW How i can set a bitmap to a jreciclerview item
« Reply #6 on: May 01, 2021, 01:36:28 pm »
Lots of Panels, not yet finish, need more efforts to run smoothly.
« Last Edit: May 05, 2021, 02:51:56 pm by Mongkey »

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
Re: LAMW How i can set a bitmap to a jreciclerview item
« Reply #7 on: May 01, 2021, 03:35:56 pm »
it's look very good, the reciclerview is more smothly for several items, try it.
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

 

TinyPortal © 2005-2018