04-25-2014 10:54 AM
I wanna know the life cycle of a card. Basically, my card is called from browser when the URL match a specific pattern. When the card is invoked, i init UI and add a few extra widget depending on the network status. However, what I observe is that if user close the card (swipe left to right), the UI is not reset, the next time the card is called, its widget get duplicated. Is swiping left to right actually closing the card and terminate the app ?
04-28-2014 09:18 AM
Your card is probably getting pooled, which can happen sometimes if the system feels it's appropriate. Listen for the cardPooled signal. More details on how to handle it here: https://developer.blackberry.com/native/documentat