|
|
@@ -1,5 +1,6 @@
|
|
|
package com.sheep.groups.creditcard.zx;
|
|
|
|
|
|
+import android.app.Activity;
|
|
|
import android.os.Bundle;
|
|
|
import android.support.annotation.Nullable;
|
|
|
import android.support.v4.app.FragmentTabHost;
|
|
|
@@ -189,8 +190,10 @@ public class ZhongXinStep22Fragment extends DaggerFragment implements ZXStep22Co
|
|
|
|
|
|
@Override
|
|
|
public void goNext() {
|
|
|
- FragmentTabHost fragmentTabHost = ((CITICBankOtherInfoActivity)getActivity()).getmFragmentTabHost();
|
|
|
- fragmentTabHost.setCurrentTab(2);
|
|
|
+ Activity activity = getActivity();
|
|
|
+ if(activity != null && activity instanceof CITICBankOtherInfoActivity){
|
|
|
+ ((CITICBankOtherInfoActivity)activity).gotoNext(2);
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|