mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
NavigationComponent廃止
This commit is contained in:
parent
d6faf8ec16
commit
c45847ecd2
|
@ -25,15 +25,13 @@ import one.nem.lacerta.utils.LacertaLogger;
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
public class ViewerMainActivity extends AppCompatActivity {
|
public class ViewerMainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
|
@Inject
|
||||||
LacertaLogger logger;
|
LacertaLogger logger;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
public ViewerMainActivity(LacertaLogger logger) {
|
public ViewerMainActivity() {
|
||||||
this.logger = logger;
|
|
||||||
logger.debug(TAG, "ViewerMainActivity created");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Variables
|
// Variables
|
||||||
private static final String TAG = "ViewerMainActivity";
|
private static final String TAG = "ViewerMainActivity";
|
||||||
String documentId;
|
String documentId;
|
||||||
|
|
|
@ -9,15 +9,13 @@
|
||||||
|
|
||||||
<androidx.fragment.app.FragmentContainerView
|
<androidx.fragment.app.FragmentContainerView
|
||||||
android:id="@+id/nav_host_fragment"
|
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_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
app:defaultNavHost="true"
|
app:defaultNavHost="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
app:navGraph="@navigation/component_viewer_navigation"
|
|
||||||
tools:layout="@layout/fragment_component_viewer_top" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue
Block a user