Apr 13, 2020 Replies: 6 Grid using Erel sample code based on PreoptimizedCLV -> https://www.b4x.com/android/forum/threads/grid-class-preoptimizedclv.116309/#post-726808 Example applied on F1, Work very nice: The idea of this class is to be able to load in a 3 column Grid (customizable) a long list of url images, and to be able to customize all the labels panels etc... This class is based on the code: https://www.b4x.com/android/forum/t...-imageviews-and-many-rows.101431/#post-636920 It works quite well, but when you do the VisibleRangeChanged it loads the images, and this process takes longer than I would like. I have not managed to refine it more. I invite anyone who can think of ideas and modifications to improve this grid. I hope someone is encouraged to improve it and to have a Grid Class that works smoothly, and that can be customized. Attachments PreoptimizedCLVWithImages.zip PreoptimizedCLVWithImages.zip 13.5 KB · Views: 1,381 Last edited: Apr 15, 2020 Click to expand...
Grid using Erel sample code based on PreoptimizedCLV -> https://www.b4x.com/android/forum/threads/grid-class-preoptimizedclv.116309/#post-726808 Example applied on F1, Work very nice: The idea of this class is to be able to load in a 3 column Grid (customizable) a long list of url images, and to be able to customize all the labels panels etc... This class is based on the code: https://www.b4x.com/android/forum/t...-imageviews-and-many-rows.101431/#post-636920 It works quite well, but when you do the VisibleRangeChanged it loads the images, and this process takes longer than I would like. I have not managed to refine it more. I invite anyone who can think of ideas and modifications to improve this grid. I hope someone is encouraged to improve it and to have a Grid Class that works smoothly, and that can be customized.
woniol Active Member Licensed User Longtime User Apr 13, 2020 #2 Hi, A bit off topic but what kind of menu is used in your example?
scsjc Well-Known Member Licensed User Longtime User Apr 13, 2020 #3 woniol said: Hi, A bit off topic but what kind of menu is used in your example? Click to expand... no is a menú, is a video capture screen (durecorder)
woniol said: Hi, A bit off topic but what kind of menu is used in your example? Click to expand... no is a menú, is a video capture screen (durecorder)
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2020 #4 My implementation based on PreoptimizedCLV is attached. I'm not sure that building a "grid" library will be very useful as each app will have different requirements and implementing such grid is very simple. Better implementation based on SMM: https://www.b4x.com/android/forum/t...rk-for-images-videos-and-more.134716/#content Attachments PreoptimizedCLVWithImages.zip PreoptimizedCLVWithImages.zip 13.5 KB · Views: 2,016 Last edited: Feb 28, 2023
My implementation based on PreoptimizedCLV is attached. I'm not sure that building a "grid" library will be very useful as each app will have different requirements and implementing such grid is very simple. Better implementation based on SMM: https://www.b4x.com/android/forum/t...rk-for-images-videos-and-more.134716/#content
scsjc Well-Known Member Licensed User Longtime User Apr 14, 2020 #5 Erel said: View attachment 91824 My implementation based on PreoptimizedCLV is attached. I'm not sure that building a "grid" library will be very useful as each app will have different requirements and implementing such grid is very simple. Click to expand... Nothing to object, my idea is only a draft in front of its great simple code. Wonderful.
Erel said: View attachment 91824 My implementation based on PreoptimizedCLV is attached. I'm not sure that building a "grid" library will be very useful as each app will have different requirements and implementing such grid is very simple. Click to expand... Nothing to object, my idea is only a draft in front of its great simple code. Wonderful.
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2020 #6 Better to edit the first post and add a link to my solution.
K Kasun Kanchana Member May 23, 2020 #7 scsjc said: Grid using Erel sample code based on PreoptimizedCLV -> https://www.b4x.com/android/forum/threads/grid-class-preoptimizedclv.116309/#post-726808 Example applied on F1, Work very nice: The idea of this class is to be able to load in a 3 column Grid (customizable) a long list of url images, and to be able to customize all the labels panels etc... This class is based on the code: https://www.b4x.com/android/forum/t...-imageviews-and-many-rows.101431/#post-636920 It works quite well, but when you do the VisibleRangeChanged it loads the images, and this process takes longer than I would like. I have not managed to refine it more. I invite anyone who can think of ideas and modifications to improve this grid. I hope someone is encouraged to improve it and to have a Grid Class that works smoothly, and that can be customized. Click to expand... Can you please post your sample code?
scsjc said: Grid using Erel sample code based on PreoptimizedCLV -> https://www.b4x.com/android/forum/threads/grid-class-preoptimizedclv.116309/#post-726808 Example applied on F1, Work very nice: The idea of this class is to be able to load in a 3 column Grid (customizable) a long list of url images, and to be able to customize all the labels panels etc... This class is based on the code: https://www.b4x.com/android/forum/t...-imageviews-and-many-rows.101431/#post-636920 It works quite well, but when you do the VisibleRangeChanged it loads the images, and this process takes longer than I would like. I have not managed to refine it more. I invite anyone who can think of ideas and modifications to improve this grid. I hope someone is encouraged to improve it and to have a Grid Class that works smoothly, and that can be customized. Click to expand... Can you please post your sample code?