Newer
Older
CitrusClient / app / src / main / java / com / example / citrusclient / views / TestActivity.java
t-watanabe on 8 Oct 942 bytes カレンダーの機能修正
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();
        }
    }
}