flutter-crypto-app icon indicating copy to clipboard operation
flutter-crypto-app copied to clipboard

SearchScreen doesn't show CircularProgressIndicator first

Open tenSunFree opened this issue 3 years ago • 2 comments

When SearchScreen requests network data, it first displays No results. Screenshot_20220626-212147

Because the list is initialized by default, if the network data is not loaded, the returned list will cause data.length to be 0, and then display No results. So consider trying not to initialize the list and let it return null. 2022-06-26_215549

Then consider displaying CircularProgressIndicator when data == null. And when data.length == 0, displays No results. 2022-06-26_215740

tenSunFree avatar Jun 26 '22 13:06 tenSunFree

Can I pick this issues

Wave780 avatar Nov 13 '22 23:11 Wave780

OK, please pick.

tenSunFree avatar Nov 14 '22 01:11 tenSunFree