Problems with mui pull-up and refresh drop-down load

1. The problem is that when the user enters the page, it will automatically drop down and refresh it, but when there is a problem with the network, it will keep turning around, how to hide it

clipboard.png

clipboard.png

mui

clipboard.png
who has a good solution, or which one should be used by api to ask for information? thank you very much


1. When there is a problem with the network, you should judge it in the interface. If the request fails, use mui (the'- sharprefreshContainer'). PullRefresh (). EndPulldown (); method is being shut down and is being refreshed.' The words.
2. Use this method to determine how many pieces of data are less than one page, hide the pull-up and load more mui ('- sharprefreshContainer'). PullRefresh (). DisablePullupToRefresh ();


, but what if your length > 0 is data but less than one page of data,

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1f267-48490.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1f267-48490.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?