-
July 11th, 2012, 02:28 PM
#8
Hello Ivanhoe,
apply the following changes to the StockList Demo app in the StockListViewController class file:
- add the following lines at the very beginning of the infoTapped method:
if (!_tableKey)
[self subscribeItems];
return;
- add the following lines at the very beginning of the statusTapped method:
if (_tableKey)
[self unsubscribeItems];
return;
Now run the app and verify that pressing the status button (the green sphere) will stop the subscription, and pressing the info button will restart it. You can stop and restart it how many times you want.
Best regards,
Gianluca
Similar Threads
-
By ernivan in forum Client SDKs
Replies: 1
Last Post: March 11th, 2011, 09:35 AM
-
By churrusco in forum General
Replies: 10
Last Post: May 8th, 2007, 02:04 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:48 PM.
Bookmarks