|
@ -13,7 +13,6 @@ import com.gmeremit.online.gmeremittance_native.utils.https.GenericResponseDataM |
|
|
import com.google.gson.reflect.TypeToken; |
|
|
import com.google.gson.reflect.TypeToken; |
|
|
|
|
|
|
|
|
import java.lang.reflect.Type; |
|
|
import java.lang.reflect.Type; |
|
|
import java.util.ArrayList; |
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
import io.reactivex.android.schedulers.AndroidSchedulers; |
|
|
import io.reactivex.android.schedulers.AndroidSchedulers; |
|
@ -23,15 +22,15 @@ import io.reactivex.schedulers.Schedulers; |
|
|
public class RecipientListingV3Presenter extends BasePresenter implements RecipientListingV3PresenterInterface { |
|
|
public class RecipientListingV3Presenter extends BasePresenter implements RecipientListingV3PresenterInterface { |
|
|
|
|
|
|
|
|
private final RecipientListingV3ContractInterface view; |
|
|
private final RecipientListingV3ContractInterface view; |
|
|
private final RecipientListingV3Gateway gateway; |
|
|
|
|
|
|
|
|
private final RecipientListingV3InteractorInterface.RecipientListingV3GatewayInterface gateway; |
|
|
private ReceiverInfoV3Model selectedRecipient; |
|
|
private ReceiverInfoV3Model selectedRecipient; |
|
|
CompositeDisposable compositeDisposable; |
|
|
CompositeDisposable compositeDisposable; |
|
|
private List<AutoDebitAccount> availablePaymentSources; |
|
|
private List<AutoDebitAccount> availablePaymentSources; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public RecipientListingV3Presenter(RecipientListingV3ContractInterface view) { |
|
|
|
|
|
|
|
|
public RecipientListingV3Presenter(RecipientListingV3ContractInterface view, RecipientListingV3InteractorInterface.RecipientListingV3GatewayInterface gatewayInterface) { |
|
|
this.view=view; |
|
|
this.view=view; |
|
|
this.gateway=new RecipientListingV3Gateway(); |
|
|
|
|
|
|
|
|
this.gateway=gatewayInterface; |
|
|
this.compositeDisposable = new CompositeDisposable(); |
|
|
this.compositeDisposable = new CompositeDisposable(); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|