After playing around a bit, I noticed that for some reason, setting a new listener just doesn’t work for me. The old listener is called.
But, I created a new var and set a listener and I can call that one.
[lua]
local achievements_2 = cloud.achievements
achievements_2.setListener(anotherListener)
[/lua]
This seems to allow me to call a second listener (local listener, not my global achievements listener).
Reason? I have an achievements page in storyboard that lists all achievements and I populate the event.response into a list. I need to know when the call has finished returning results before populating the list.
So… question for the cloud team. Is this the preferred method, or is there another way to allow using a second listener inside a storyboard scene when needed?