@@ -0,0 +1,3321 @@
+package com.joker.fourfun.ui.fragment;%0A%0A%0Aimport android.os.Build;%0Aimport android.os.Bundle;%0Aimport android.support.design.widget.FloatingActionButton;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0A%0Aimport com.joker.fourfun.R;%0Aimport com.joker.fourfun.base.BaseMvpFragment;%0Aimport com.joker.fourfun.presenter.LoginPresenter;%0Aimport com.joker.fourfun.presenter.contract.LoginContract;%0Aimport com.joker.fourfun.utils.SystemUtil;%0A%0Aimport butterknife.BindView;%0Aimport butterknife.ButterKnife;%0Aimport butterknife.OnClick;%0A%0Apublic class LoginFragment extends BaseMvpFragment%3CLoginContract.View, LoginPresenter%3E implements%0A        LoginContract.View %7B%0A    @BindView(R.id.fab_login)%0A    FloatingActionButton mLoginFab;%0A    RegisterFragment mFragment;%0A%0A    @Override%0A    protected View createView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) %7B%0A        View view = inflater.inflate(R.layout.fragment_login, container, false);%0A        ButterKnife.bind(this, view);%0A%0A        return view;%0A    %7D%0A%0A    @Override%0A    protected void initInject() %7B%0A        getComponent().inject(this);%0A    %7D%0A%0A    @Override%0A    public void showMsg(String message) %7B%0A        SystemUtil.showToast(mActivity, message);%0A    %7D%0A%0A    @Override%0A    public void showError(String message) %7B%0A        SystemUtil.showToast(mActivity, message);%0A    %7D%0A%0A    @OnClick(%7BR.id.bt_go, R.id.fab_login%7D)%0A    public void onClick(View view) %7B%0A        switch (view.getId()) %7B%0A            case R.id.fab_login:%0A//                    mActivity.getWindow().setExitTransition(null);%0A//                    mActivity.getWindow().setEnterTransition(null);%0A//                    ActivityOptions options =%0A//                            ActivityOptions.makeSceneTransitionAnimation(mActivity, mLoginFab, mLoginFab%0A//                                    .getTransitionName%0A//                                            ());%0A%0A//                    setExitTransition(new Fade());%0A//                    mFragment.setEnterTransition(new Fade());%0A//                    mFragment.setSharedElementReturnTransition(new DetailTransition());%0A//                    mFragment.setSharedElementEnterTransition(new DetailTransition());%0A                // 25.1.0%E4%BB%A5%E4%B8%8B%E7%9A%84support%E5%8C%85,Material%E8%BF%87%E6%B8%A1%E5%8A%A8%E7%94%BB%E5%8F%AA%E6%9C%89%E5%9C%A8%E8%BF%9B%E6%A0%88%E6%97%B6%E6%9C%89,%E8%BF%94%E5%9B%9E%E6%97%B6%E6%B2%A1%E6%9C%89;%0A                // 25.1.0+%E7%9A%84support%E5%8C%85%EF%BC%8CSharedElement%E6%AD%A3%E5%B8%B8%0A//                    mFragment.transaction()%0A//                            .addSharedElement(((FirstHomeAdapter.VH) vh).img, getString(R.string%0A//                                    .image_transition))%0A//                            .addSharedElement(((FirstHomeAdapter.VH) vh).tvTitle, %22tv%22)%0A//                            .commit();%0A                if (mFragment == null) %7B%0A                    mFragment = new RegisterFragment();%0A                %7D%0A                if (Build.VERSION.SDK_INT %3E= Build.VERSION_CODES.LOLLIPOP_MR1) %7B%0A                    mActivity.getWindow().setExitTransition(null);%0A                    mActivity.getWindow().setEnterTransition(null);%0A                    this.transaction()%0A                            .addSharedElement(mLoginFab, getString(R.string.translation_login_fab_tag))%0A                            .commit();%0A                %7D%0A                start(mFragment);%0A                break;%0A            default:%0A                break;%0A        %7D%0A    %7D%0A%7D%0A

add loginFragment