界面调整和部分测试汇总

This commit is contained in:
kehaoyuan
2018-01-04 18:24:36 +08:00
parent cfa3ceaae7
commit b5fddfbbd0
31 changed files with 273 additions and 165 deletions

View File

@ -15,6 +15,7 @@ import android.widget.TextView;
import com.facebook.drawee.view.SimpleDraweeView;
import com.gh.base.fragment.BaseFragment;
import com.gh.common.util.CheckLoginUtils;
import com.gh.common.util.DataCollectionUtils;
import com.gh.common.util.DialogUtils;
import com.gh.common.util.EntranceUtils;
@ -250,9 +251,11 @@ public class PersonalFragment extends BaseFragment implements Observer<ApiRespon
new IntentFactory.Builder(getContext()).setFragment(SettingsFragment.class).setEntrance("(我的光环)").start();
break;
case R.id.personal_ask:
Bundle bundle = new Bundle();
bundle.putString(EntranceUtils.KEY_ENTRANCE, "(我的光环)+(我的问答)");
NormalActivity.startFragment(getContext(), MyAskWrapperFragment.class, bundle);
CheckLoginUtils.checkLogin(getContext(), ()-> {
Bundle bundle = new Bundle();
bundle.putString(EntranceUtils.KEY_ENTRANCE, "(我的光环)+(我的问答)");
NormalActivity.startFragment(getContext(), MyAskWrapperFragment.class, bundle);
});
break;
}
}