Removed commented code
This commit is contained in:
parent
b59f0b9108
commit
1185ee3dac
|
|
@ -105,80 +105,3 @@ public class MainActivity extends AppCompatActivity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// app/src/main/java/com/example/dcav2gui/MainActivity.java
|
|
||||||
//import android.os.Bundle;
|
|
||||||
//import android.view.Menu;
|
|
||||||
//import android.view.MenuItem;
|
|
||||||
//
|
|
||||||
//import androidx.appcompat.app.AppCompatActivity;
|
|
||||||
//import androidx.appcompat.widget.Toolbar;
|
|
||||||
//import androidx.drawerlayout.widget.DrawerLayout;
|
|
||||||
//import androidx.navigation.NavController;
|
|
||||||
//import androidx.navigation.Navigation;
|
|
||||||
//import androidx.navigation.ui.AppBarConfiguration;
|
|
||||||
//import androidx.navigation.ui.NavigationUI;
|
|
||||||
//
|
|
||||||
//import com.example.dcav2gui.R;
|
|
||||||
//import com.example.dcav2gui.databinding.ActivityMainBinding;
|
|
||||||
//import com.google.android.material.navigation.NavigationView;
|
|
||||||
//
|
|
||||||
//public class MainActivity extends AppCompatActivity {
|
|
||||||
//
|
|
||||||
// private AppBarConfiguration mAppBarConfiguration;
|
|
||||||
//
|
|
||||||
// @Override
|
|
||||||
// protected void onCreate(Bundle savedInstanceState) {
|
|
||||||
// super.onCreate(savedInstanceState);
|
|
||||||
// setContentView(R.layout.activity_main);
|
|
||||||
//
|
|
||||||
// Toolbar toolbar = findViewById(R.id.toolbar);
|
|
||||||
// setSupportActionBar(toolbar);
|
|
||||||
//
|
|
||||||
// DrawerLayout drawer = findViewById(R.id.drawer_layout);
|
|
||||||
// //NavigationView navigationView = binding.navView;
|
|
||||||
// NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment_content_main);
|
|
||||||
// mAppBarConfiguration = new AppBarConfiguration.Builder(
|
|
||||||
// R.id.nav_home,
|
|
||||||
// R.id.nav_binance,
|
|
||||||
// R.id.nav_gateio,
|
|
||||||
// R.id.nav_kucoin,
|
|
||||||
// R.id.nav_okx)
|
|
||||||
// .setOpenableLayout(drawer)
|
|
||||||
// .build();
|
|
||||||
// NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration);
|
|
||||||
// NavigationUI.setupWithNavController(navigationView, navController);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// @Override
|
|
||||||
// public boolean onCreateOptionsMenu(Menu menu) {
|
|
||||||
// // Inflate the menu; this adds items to the action bar if it is present.
|
|
||||||
// getMenuInflater().inflate(R.menu.main, menu);
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// @Override
|
|
||||||
// public boolean onOptionsItemSelected(MenuItem item) {
|
|
||||||
// // Handle action bar item clicks here. The action bar will
|
|
||||||
// // automatically handle clicks on the Home/Up button, so long
|
|
||||||
// // as you specify a parent activity in AndroidManifest.xml.
|
|
||||||
// int id = item.getItemId();
|
|
||||||
//
|
|
||||||
// if (id == R.id.action_settings) {
|
|
||||||
// // Navigate to the SettingsFragment
|
|
||||||
// NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment_content_main);
|
|
||||||
// navController.navigate(R.id.nav_settings);
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// return super.onOptionsItemSelected(item);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// @Override
|
|
||||||
// public boolean onSupportNavigateUp() {
|
|
||||||
// NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment_content_main);
|
|
||||||
// return NavigationUI.navigateUp(navController, mAppBarConfiguration)
|
|
||||||
// || super.onSupportNavigateUp();
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue