XF-Material-Library icon indicating copy to clipboard operation
XF-Material-Library copied to clipboard

MaterialTextField choice is very slow with large data

Open andy200486 opened this issue 6 years ago • 5 comments

I'm using an MaterialTextField with InputType "Choice" to select a country. The display of the dialog box is very slow. I have an Enum with +/- 200 country (only string) to show and it takes (depends on the smartphone) 10-20 seconds.

Is there a solution to this problem ?

Thanks !

andy200486 avatar Mar 08 '19 16:03 andy200486

Hi, the current implementation of the dialog uses the BinableLayout feature, which I think has some performance issue during rendering. I'll try to update the layout to use the new CollectionView control.

contrix09 avatar Mar 15 '19 12:03 contrix09

Ok great, can you tell me when you've done the changes ? So I'll try.

Thanks !

andy200486 avatar Mar 15 '19 13:03 andy200486

Hi, can you validate this issue ?

andy200486 avatar Apr 03 '19 14:04 andy200486

It is extremely slow, at least show a loading symbol or something.

shubhamkumarnayak avatar Nov 27 '19 19:11 shubhamkumarnayak

I'm also having this issue. Is there any update or workaround? For the moment I've gone back to using the default picker which has much better performance but does not look as good.

timothy-gibson avatar Aug 10 '20 10:08 timothy-gibson