Smack API - How to get wating for subscription status from roster

hi all

in my chat appliaction i set “roster.setSubscriptionMode(Roster.SubscriptionMode.manual)” and send invitation to other party . how can i get **SUBSCRIPTION_PENDING** status while accept invitation from buddy. i check that status at RosterEntry and RosterPacket.ItemStatus , smack/RosterEntry.html . so what are the listners we can use to get this status. can you please help me



I believe you could add a RosterListener and you will receive a notification in the update method.