-
December 13th, 2019, 09:20 AM
#1
Removing, replacing ItemUpdate positions
Hello LightStreamer team. In the android app i am developing, there is an option to replace and delete stocks from the UI. When those values are changed after the first subscription, I have to update the adapter to send me correct ItemUpdate positions. The problem am facing is with the graphs update. For setting the new itemUpdate positions first I have to unsubscribe and register the observer again, which is causing redrawing of the graphs once again when ls.Client.subscribe() is called. I tried the setItems method, but it also requires unsubscription, so the result is the same. Is there some way to update the correct positions without unsubscribing? The adapter is set in DISTINCT mode
Despite of my problem everything is working amazing, great job and sorry if the question is already asked, I couldn’t find similar issue in the forum
Similar Threads
-
By subuta in forum Client SDKs
Replies: 4
Last Post: December 27th, 2011, 03:03 PM
-
By mnenchev in forum Client SDKs
Replies: 1
Last Post: October 28th, 2010, 09:36 AM
-
By Otake in forum Client SDKs
Replies: 5
Last Post: December 17th, 2009, 02:15 PM
-
By rsouissi in forum Adapter SDKs
Replies: 4
Last Post: January 10th, 2007, 06:11 PM
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 10:14 PM.
Bookmarks