Search in sources :

Example 1 with OnUserContactDelete

use of net.iGap.observers.interfaces.OnUserContactDelete in project iGap-Android by KianIranian-STDG.

the class FragmentContactsProfileViewModel method deleteContact.

public void deleteContact() {
    G.onUserContactdelete = new OnUserContactDelete() {

        @Override
        public void onContactDelete() {
            getUserInfo();
        }

        @Override
        public void onError(int majorCode, int minorCode) {
        }
    };
    new RequestUserContactsDelete().contactsDelete(phone.get());
}
Also used : OnUserContactDelete(net.iGap.observers.interfaces.OnUserContactDelete) RequestUserContactsDelete(net.iGap.request.RequestUserContactsDelete)

Aggregations

OnUserContactDelete (net.iGap.observers.interfaces.OnUserContactDelete)1 RequestUserContactsDelete (net.iGap.request.RequestUserContactsDelete)1