| | |
| | | |
| | | import com.duqing.missions.base.BaseActivity; |
| | | import com.duqing.missions.databinding.ActivityMainBinding; |
| | | import com.google.android.material.bottomnavigation.BottomNavigationView; |
| | | |
| | | public class MainActivity extends BaseActivity<ActivityMainBinding> { |
| | | |
| | |
| | | protected void onCreate(Bundle savedInstanceState) { |
| | | super.onCreate(savedInstanceState); |
| | | |
| | | BottomNavigationView navView = binding.navView; |
| | | // Passing each menu ID as a set of Ids because each |
| | | // menu should be considered as top level destinations. |
| | | AppBarConfiguration appBarConfiguration = new AppBarConfiguration.Builder( |