PollFish.ParamsBuilder paramsBuilder = new PollFish.ParamsBuilder("a803d8fe-accf-4f80-bd24-e4ebee6e7d3d")
.indicatorPadding(5)
.customMode(true)
.releaseMode(false)
.build();
PollFish.initWith(mActivity, paramsBuilder);
@Override
public void onPollfishSurveyCompleted(boolean b, int i) {
CommonUtils.showLog("Pollfish", "onPollfishSurveyCompleted()");
if (withdrawAmountBinder!=null)
withdrawAmountBinder.onPollfishSurveyCompleted(b, i);
}
@Override
public void onPollfishSurveyNotAvailable() {
CommonUtils.showLog("Pollfish", "onPollfishSurveyNotAvailable()");
if (withdrawAmountBinder!=null)
withdrawAmountBinder.onPollfishSurveyNotAvailable();
}
@Override
public void onPollfishSurveyReceived(boolean b, int i) {
CommonUtils.showLog("Pollfish", "onPollfishSurveyReceived()");
if (withdrawAmountBinder!=null)
withdrawAmountBinder.onPollfishSurveyReceived(b,i);
}
@Override
public void onUserNotEligible() {
CommonUtils.showLog("Pollfish", "onUserNotEligible()");
if (withdrawAmountBinder!=null)
withdrawAmountBinder.onUserNotEligible();
}