The 'onGetLiveRoomInfoDone' listener is called more than once when I invoke the 'getLiveRoomInfo' function.

0 votes
I'm testing to see if my app is able to log the user out and back in (connectWithUser and disconnect methods) and call the same methods - as if the app is started from scratch. After login I have a method that calls 'getLiveRoomInfo'. It works the first time I call it. If the user "disconnects" and reconnects moments after and the 'getLiveRoomInfo' method is called, the 'onGetLiveRoomInfoDone' listener is called more than once.

Sorry if this sounds slightly confusing. Thanks.
asked May 16, 2014 in AppWarp by lebomorojele (11 points)

1 Answer

0 votes
Its possible that you've called the add room request listener API more than once as you are switching states in your application. This cause the listener to be registered twice and hence you get more than one callback.
answered May 17, 2014 by dhruvc (1,099 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...