package com.example.citrusclient.views; import android.os.Bundle; import androidx.activity.EdgeToEdge; import androidx.appcompat.app.AppCompatActivity; import androidx.core.graphics.Insets; import androidx.core.view.ViewCompat; import androidx.core.view.WindowInsetsCompat; import com.example.citrusclient.R; import com.example.citrusclient.Citrus; public class TestActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_test); Citrus citrus = (Citrus)getApplication(); citrus.setCurLookingAccountId("tako"); citrus.setCurLookingBookId(2); if (savedInstanceState == null) { getSupportFragmentManager().beginTransaction() .replace(R.id.fragment_container, new OtherCalendarFragment()) .commit(); } } }