Merge pull request 'refactor/refactor' (#152) from refactor/refactor into main

Reviewed-on: #152
This commit is contained in:
Fujimatsu 2024-07-08 15:18:43 +00:00
commit 45321ebdc3
2 changed files with 9 additions and 2 deletions

View File

@ -81,6 +81,12 @@ public class CommonHomeFragment extends Fragment {
childId = getArguments().getString(ARG_CHILD_ID); childId = getArguments().getString(ARG_CHILD_ID);
} }
logger = ksLoggerFactory.create("CommonHomeFragment"); logger = ksLoggerFactory.create("CommonHomeFragment");
if (isChildMode) {
logger.info("Child mode, childId: " + childId);
} else {
logger.info("Parent mode");
}
} }
@Override @Override
@ -243,7 +249,7 @@ public class CommonHomeFragment extends Fragment {
try { try {
Thread.sleep(500); Thread.sleep(500);
} catch (InterruptedException e) { } catch (InterruptedException e) {
e.printStackTrace(); // do nothing
} }
swipeRefreshLayout.setRefreshing(false); swipeRefreshLayout.setRefreshing(false);
}); });

View File

@ -24,11 +24,12 @@
android:text="PLACEHOLDER" android:text="PLACEHOLDER"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<!-- ImageButtonに変更? -->
<Button <Button
android:id="@+id/completeButton" android:id="@+id/completeButton"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Button" /> android:text="完了" />
</LinearLayout> </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>