1
This commit is contained in:
@@ -372,12 +372,13 @@ public class MainFragment extends BaseFragment<FragmentMainBinding> implements V
|
||||
startActivity(intent);
|
||||
break;
|
||||
case R.id.cargara://车库
|
||||
if ((Config.getInstance(MainFragment.this.getContext()).getUser() == null)) {
|
||||
intent = new Intent(MainFragment.this.getContext(), LoginActivity.class);
|
||||
} else {
|
||||
intent = new Intent(getActivity(), CarGarageActivity.class);
|
||||
}
|
||||
startActivity(intent);
|
||||
Toast.makeText(getContext(),"功能正在开发",Toast.LENGTH_SHORT).show();
|
||||
// if ((Config.getInstance(MainFragment.this.getContext()).getUser() == null)) {
|
||||
// intent = new Intent(MainFragment.this.getContext(), LoginActivity.class);
|
||||
// } else {
|
||||
// intent = new Intent(getActivity(), CarGarageActivity.class);
|
||||
// }
|
||||
// startActivity(intent);
|
||||
break;
|
||||
case R.id.moew1:
|
||||
intent = new Intent(getActivity(), MyMarketShopActivity.class);
|
||||
|
||||
Reference in New Issue
Block a user