mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-22 13:38:41 +00:00
Refactor Code
This commit is contained in:
@@ -25,6 +25,10 @@ public class MainActivity extends AppCompatActivity {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
|
||||
bottomNavigation();
|
||||
}
|
||||
|
||||
private void bottomNavigation() {
|
||||
bottomNavigationView = findViewById(R.id.bottom_nav);
|
||||
viewPager2 = findViewById(R.id.viewPager);
|
||||
viewPagerAdapter = new ViewPagerAdapter(this);
|
||||
|
||||
Reference in New Issue
Block a user