実装整理

This commit is contained in:
ろむねこ 2024-01-22 17:22:41 +09:00
parent 6bc43869c9
commit 3d8ab69742
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -89,22 +89,8 @@ public class MainActivity extends AppCompatActivity {
}
});
Toolbar toolbar = findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
}
// Public
public void setActionBarTitle(String title) {
getSupportActionBar().setTitle(title);
}
public void setActionBarBackButton(boolean isEnabled) {
getSupportActionBar().setDisplayHomeAsUpEnabled(isEnabled);
}
public void setActionBarMenuItem(int itemId, boolean isEnabled) {
}
private void initializeApp() {
Log.d("Init", "Initializing app");