Bug? iTableView detail line issue

qsrtech

Active Member
Licensed User
Longtime User
I'm having some strange behavior with this itableview(1.2) when using the addtwolines method. No matter what I try it seems the detail line always defaults to the mainline text unless I use the attributedstring with the detail, even then it won't work if some of the "details" are empty but it will work if I put a space (i.e. " ") for the detail. I use tablecell.update after adding each line. Another weird thing is in some of my "pages", the items won't show up until I use reloadall. Please look into. Thanks

attached is the sample provided for using the library, however the only change is the attributedtext part is commented out and just use the "detail" parameter of the addtwolines

Also, why doesn't that page_resize show up in the sub [tab]?

P.S. I tried using only addtwolines, no bitmap, addsection. Basically all combinations and no change.
 

Attachments

  • tableviewtest.zip
    9.3 KB · Views: 286

qsrtech

Active Member
Licensed User
Longtime User
It's not my code. It's the sample code provided with the library. This is a repost as per Erel's request to "start a new thread", he seems to understand the issue but wanted a sample project.

If you run the sample you should see that the "detail" line in the list actually show's the "main" line text when not using attributedtext, i.e. cell.detail=attributedtext object.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Top