Quote:
Originally Posted by Sunny46
Thanks for response, I have already reachability functionality working in my application and It is working fine but I can not know in this if the internet has gone slow or results taking time to show. I have tabbedBarApplication and when every item shows, it brings data from server and shows on the view, it takes time to load data as well as when switching between tabs, this is where i want to show activity indicator. I don't know how and where i can implement to show indicator? if you know something more in detail please share it. thanks
|
Something more in detail... I think you will have to find your own solution to your own problem - or provide more detail yourself.
There is no way of knowing before you initiate the download if the download is going to take long. As I said, you can check how you are connected to the internet but that won't tell you if the data will take long to download or not.
Why don't you just always show the activity indicator? problem solved?
btw, switching between tabs should not be impacted by your internet connection speed - if it is then you're doing it wrong. you want to make an asynchronous call.