Text shown is randomly trimmed when inserted or updated in Android

When writing text into listview, only in Android, I observed (since I started to work with this control, back in version 16.xx.yy) that not all the characters are displayed. When selecting any line (with trimmed text) the whole text is shown. Correct text stays for a while, but when updates are sent to that line, the phenomenon could randomly repeat. Using select line as a refresh method always works to redraw the correct text. The number of trimmed characters varies. When trimming occurs also alignment changes from 'center' to some 'to the left' kind of alignment but not fully 'Left' aligned or 'Start' aligned in that field space. Statistically, the chance to get trimmed text display is over 70-80 percent. 

1 Reply

CS Chandrasekar Sampathkumar Syncfusion Team May 18, 2020 07:24 PM UTC

Hi Constantin, 
Thank you for using Syncfusion products. 
We have checked the reported query “Text shown is randomly trimmed when updated in Android” from our end. We would like to let you know that we are not able to replicate the issue on our side. We set LineBreakMode property of Label to WordWrap to display the entire text. In the title, it is mentioned that text is trimmed when inserted or updated in Android, but in the description only selection is mentioned. Could you please tell us the scenario in detail. We have prepared a sample based on your requirement and you can download the same using the following link, 
Sample Link: SfListViewSample 
Video Sample: Video 
Note: DoubleTap ListView item to modify Label text and see the changes in UI. 
Please check the attached sample and let us know if you are still facing the same issue? If yes, please modify our sample and revert us back or share the following details which would be helpful for us to check on it and provide the solution at the earliest.  
  • Xamarin.Forms version and Syncfusion version used in your application.
  • Replication procedure to reproduce the issue.
  • ListView Xaml and ViewModel page
  • Issue replicating video/screenshot if possible
Regards, 
Chandrasekar Sampathkumar 


Loader.
Up arrow icon