|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
| Do we have to remove all chartOjectListener in onStop()? |
|
nicofr0707
|
| Post subject: Do we have to remove all chartOjectListener in onStop()? |
Post rating: 0
|
Posted: Tue 22 Nov, 2011, 20:20
|
|
User rating: 5
Joined: Fri 02 Sep, 2011, 10:08 Posts: 157 Location: FranceFrance
|
|
Hi,
In my strategy I am adding some listeners with setChartObjectListener() but it seems that when I stop the strategy, It continues to listen to the chart objects after.
Should I remove all listeners in onStop() ?
Thanks
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: Do we have to remove all chartOjectListener in onStop()? |
Post rating: 0
|
Posted: Wed 23 Nov, 2011, 09:40
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
If the chart objects remain, then also their listeners remain. So you can either remove only the listeners or remove chart objects which will obviously remove the listeners as well.
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|