ログ追加
This commit is contained in:
parent
7c4a93a4e7
commit
94f10f7ce2
|
@ -27,8 +27,6 @@ import retrofit2.Call;
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
public class ChildLoginActivity extends AppCompatActivity {
|
public class ChildLoginActivity extends AppCompatActivity {
|
||||||
|
|
||||||
@Inject
|
|
||||||
ChildData childData;
|
|
||||||
@Inject
|
@Inject
|
||||||
UserSettings userSettings;
|
UserSettings userSettings;
|
||||||
@Inject
|
@Inject
|
||||||
|
@ -52,6 +50,8 @@ public class ChildLoginActivity extends AppCompatActivity {
|
||||||
return insets;
|
return insets;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
logger = loggerFactory.create("ChildLoginActivity");
|
||||||
|
|
||||||
// コードのフォーカスを自動で移動する
|
// コードのフォーカスを自動で移動する
|
||||||
loginCode1 = findViewById(R.id.loginCode_1);
|
loginCode1 = findViewById(R.id.loginCode_1);
|
||||||
loginCode2 = findViewById(R.id.loginCode_2);
|
loginCode2 = findViewById(R.id.loginCode_2);
|
||||||
|
@ -73,6 +73,7 @@ public class ChildLoginActivity extends AppCompatActivity {
|
||||||
|
|
||||||
// ログインボタンを押したときの処理
|
// ログインボタンを押したときの処理
|
||||||
findViewById(R.id.childLoginButton).setOnClickListener(v -> {
|
findViewById(R.id.childLoginButton).setOnClickListener(v -> {
|
||||||
|
logger.debug("ログインボタンが押されました");
|
||||||
Call<ChildAuthResponse> call = kidShiftApiService.childLogin(new ChildAuthRequest(getLoginCode()));
|
Call<ChildAuthResponse> call = kidShiftApiService.childLogin(new ChildAuthRequest(getLoginCode()));
|
||||||
try {
|
try {
|
||||||
ChildAuthResponse childAuthResponse = call.execute().body();
|
ChildAuthResponse childAuthResponse = call.execute().body();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user