-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: simplified sample app code to better understand how it work (#10)
- Loading branch information
1 parent
71993d0
commit 64d9b25
Showing
9 changed files
with
62 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
sample/src/main/java/com/dzeio/crashhandlertest/ui/MainFragment.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:fitsSystemWindows="true" | ||
tools:context=".ui.MainActivity"> | ||
tools:context=".ui.MainActivity" | ||
android:padding="16dp"> | ||
|
||
<androidx.fragment.app.FragmentContainerView | ||
android:id="@+id/fragment" | ||
android:name="androidx.navigation.fragment.NavHostFragment" | ||
android:layout_marginTop="?attr/actionBarSize" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
app:defaultNavHost="true" | ||
<Button | ||
android:id="@+id/button_first" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/crash_app" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:navGraph="@navigation/nav_graph" /> | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
</androidx.coordinatorlayout.widget.CoordinatorLayout> | ||
</androidx.constraintlayout.widget.ConstraintLayout> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<resources> | ||
<string name="app_name" translatable="false">Crash Handler</string> | ||
<string name="title_activity_main" translatable="false">MainActivity</string> | ||
<!-- Strings used for fragments for navigation --> | ||
<string name="first_fragment_label" translatable="false">First Fragment</string> | ||
<string name="second_fragment_label" translatable="false">Second Fragment</string> | ||
|
||
<string name="crash_app" translatable="false">Crash app</string> | ||
<string name="error_message" translatable="false">I am an error</string> | ||
<string name="crash_handler_page_title" translatable="false">Crash Handler page title</string> | ||
<string name="crash_handler_page_subtitle" translatable="false">crash handler page subtitle</string> | ||
<string name="github" translatable="false">Github</string> | ||
<string name="e_mail" translatable="false">E-Mail</string> | ||
<string name="quit" translatable="false">Quit</string> | ||
</resources> |