May 27, 2021 Replies: 2 BBCodeView is a scrollable view by itself. Trying to put it inside a CLV will cause all kinds of problems. BBListItem is a modified version of BBCodeView, which is built for being contained in a CLV. Among other things, it only draws the currently visible text. It was written originally for the Pleroma client: https://www.b4x.com/android/forum/threads/124214/#content Its performance is very good if configured correctly. If you need to add many items then you will need to add and remove items as the user scrolls the list. The class is included inside the B4XPages project. Note that the "handle resize event" is unchecked in the layouts. Attachments Project.zip Project.zip 195.3 KB · Views: 1,042 Click to expand...
BBCodeView is a scrollable view by itself. Trying to put it inside a CLV will cause all kinds of problems. BBListItem is a modified version of BBCodeView, which is built for being contained in a CLV. Among other things, it only draws the currently visible text. It was written originally for the Pleroma client: https://www.b4x.com/android/forum/threads/124214/#content Its performance is very good if configured correctly. If you need to add many items then you will need to add and remove items as the user scrolls the list. The class is included inside the B4XPages project. Note that the "handle resize event" is unchecked in the layouts.
Erel B4X founder Staff member Licensed User Longtime User May 30, 2021 #2 Example that combines BBListItem with CLVExpandable: https://www.b4x.com/android/forum/t...lapsing-xcustomlistview-items.106148/#content Note that the Item layout must have a transparent background.
Example that combines BBListItem with CLVExpandable: https://www.b4x.com/android/forum/t...lapsing-xcustomlistview-items.106148/#content Note that the Item layout must have a transparent background.
Erel B4X founder Staff member Licensed User Longtime User May 31, 2021 #3 Project updated. Fixed the bug discussed here: https://www.b4x.com/android/forum/t...nside-clv-display-problem.131224/#post-826364
Project updated. Fixed the bug discussed here: https://www.b4x.com/android/forum/t...nside-clv-display-problem.131224/#post-826364