NavigationComponent廃止

This commit is contained in:
r-ca 2024-01-21 15:31:06 +09:00
parent d6faf8ec16
commit c45847ecd2
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 4 additions and 8 deletions

View File

@ -25,15 +25,13 @@ import one.nem.lacerta.utils.LacertaLogger;
@AndroidEntryPoint
public class ViewerMainActivity extends AppCompatActivity {
@Inject
LacertaLogger logger;
@Inject
public ViewerMainActivity(LacertaLogger logger) {
this.logger = logger;
logger.debug(TAG, "ViewerMainActivity created");
public ViewerMainActivity() {
}
// Variables
private static final String TAG = "ViewerMainActivity";
String documentId;

View File

@ -9,15 +9,13 @@
<androidx.fragment.app.FragmentContainerView
android:id="@+id/nav_host_fragment"
android:name="androidx.navigation.fragment.NavHostFragment"
android:name="one.nem.lacerta.component.viewer.ComponentViewerTopFragment"
android:layout_width="0dp"
android:layout_height="0dp"
app:defaultNavHost="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/component_viewer_navigation"
tools:layout="@layout/fragment_component_viewer_top" />
app:layout_constraintTop_toTopOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>