nav_graph.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <navigation xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. app:startDestination="@id/home_fragment">
  6. <fragment
  7. android:id="@+id/home_fragment"
  8. android:name="com.grkj.iscs_mc.view.fragment.MaterialHomeFragment"
  9. tools:layout="@layout/fragment_material_home">
  10. <action
  11. android:id="@+id/action_home_fragment_to_fetch_return_fragment"
  12. app:destination="@id/material_fetch_return_fragment"
  13. app:enterAnim="@anim/slide_in_right"
  14. app:exitAnim="@anim/slide_out_left"
  15. app:popEnterAnim="@anim/slide_in_left"
  16. app:popExitAnim="@anim/slide_out_right" />
  17. <action
  18. android:id="@+id/action_home_fragment_to_instruction_fragment"
  19. app:destination="@id/material_instruction_fragment"
  20. app:enterAnim="@anim/slide_in_right"
  21. app:exitAnim="@anim/slide_out_left"
  22. app:popEnterAnim="@anim/slide_in_left"
  23. app:popExitAnim="@anim/slide_out_right" />
  24. <action
  25. android:id="@+id/action_home_fragment_to_inspection_fragment"
  26. app:destination="@id/material_inspection_fragment"
  27. app:enterAnim="@anim/slide_in_right"
  28. app:exitAnim="@anim/slide_out_left"
  29. app:popEnterAnim="@anim/slide_in_left"
  30. app:popExitAnim="@anim/slide_out_right" />
  31. <action
  32. android:id="@+id/action_home_fragment_to_inspection_plan_fragment"
  33. app:destination="@id/material_inspection_plan_fragment"
  34. app:enterAnim="@anim/slide_in_right"
  35. app:exitAnim="@anim/slide_out_left"
  36. app:popEnterAnim="@anim/slide_in_left"
  37. app:popExitAnim="@anim/slide_out_right" />
  38. <action
  39. android:id="@+id/action_home_fragment_to_replacement_fragment"
  40. app:destination="@id/material_replacement_fragment"
  41. app:enterAnim="@anim/slide_in_right"
  42. app:exitAnim="@anim/slide_out_left"
  43. app:popEnterAnim="@anim/slide_in_left"
  44. app:popExitAnim="@anim/slide_out_right" />
  45. </fragment>
  46. <fragment
  47. android:id="@+id/material_fetch_return_fragment"
  48. android:name="com.grkj.iscs_mc.view.fragment.MaterialFetchReturnFragment"
  49. tools:layout="@layout/fragment_material_fetch_return" />
  50. <fragment
  51. android:id="@+id/material_instruction_fragment"
  52. android:name="com.grkj.iscs_mc.view.fragment.MaterialInstructionFragment"
  53. tools:layout="@layout/fragment_material_instruction">
  54. <action
  55. android:id="@+id/action_instruction_fragment_to_instruction_detail_fragment"
  56. app:destination="@id/material_instruction_detail_fragment"
  57. app:enterAnim="@anim/slide_in_right"
  58. app:exitAnim="@anim/slide_out_left"
  59. app:popEnterAnim="@anim/slide_in_left"
  60. app:popExitAnim="@anim/slide_out_right" />
  61. </fragment>
  62. <fragment
  63. android:id="@+id/material_inspection_fragment"
  64. android:name="com.grkj.iscs_mc.view.fragment.MaterialInspectionFragment"
  65. tools:layout="@layout/fragment_material_inspection">
  66. <action
  67. android:id="@+id/action_inspection_fragment_to_inspection_plan_fragment"
  68. app:destination="@id/material_inspection_plan_fragment"
  69. app:enterAnim="@anim/slide_in_right"
  70. app:exitAnim="@anim/slide_out_left"
  71. app:popEnterAnim="@anim/slide_in_left"
  72. app:popExitAnim="@anim/slide_out_right" />
  73. </fragment>
  74. <fragment
  75. android:id="@+id/material_replacement_fragment"
  76. android:name="com.grkj.iscs_mc.view.fragment.MaterialReplacementFragment"
  77. tools:layout="@layout/fragment_material_replacement">
  78. <action
  79. android:id="@+id/action_replacement_fragment_to_replacement_record_fragment"
  80. app:destination="@id/material_replacement_record_fragment"
  81. app:enterAnim="@anim/slide_in_right"
  82. app:exitAnim="@anim/slide_out_left"
  83. app:popEnterAnim="@anim/slide_in_left"
  84. app:popExitAnim="@anim/slide_out_right" />
  85. <action
  86. android:id="@+id/action_replacement_fragment_to_manual_replacement_fragment"
  87. app:destination="@id/material_manual_replacement_fragment"
  88. app:enterAnim="@anim/slide_in_right"
  89. app:exitAnim="@anim/slide_out_left"
  90. app:popEnterAnim="@anim/slide_in_left"
  91. app:popExitAnim="@anim/slide_out_right" />
  92. </fragment>
  93. <fragment
  94. android:id="@+id/material_manual_replacement_fragment"
  95. android:name="com.grkj.iscs_mc.view.fragment.MaterialManualReplacementFragment"
  96. tools:layout="@layout/fragment_material_manual_replacement" />
  97. <fragment
  98. android:id="@+id/material_replacement_record_fragment"
  99. android:name="com.grkj.iscs_mc.view.fragment.MaterialReplacementRecordFragment"
  100. tools:layout="@layout/fragment_material_replacement_record" />
  101. <fragment
  102. android:id="@+id/material_instruction_detail_fragment"
  103. android:name="com.grkj.iscs_mc.view.fragment.MaterialInstructionDetailFragment"
  104. tools:layout="@layout/fragment_material_instruction_detail" >
  105. <argument android:name="url" app:argType="string" />
  106. </fragment>
  107. <fragment
  108. android:id="@+id/material_inspection_plan_fragment"
  109. android:name="com.grkj.iscs_mc.view.fragment.MaterialInspectionPlanFragment"
  110. tools:layout="@layout/fragment_material_inspection_plan">
  111. <action
  112. android:id="@+id/action_inspection_plan_fragment_to_inspection_table_fragment"
  113. app:destination="@id/material_inspection_table_fragment"
  114. app:enterAnim="@anim/slide_in_right"
  115. app:exitAnim="@anim/slide_out_left"
  116. app:popEnterAnim="@anim/slide_in_left"
  117. app:popExitAnim="@anim/slide_out_right" />
  118. <action
  119. android:id="@+id/action_inspection_plan_fragment_to_inspection_signature_fragment"
  120. app:destination="@id/material_inspection_signature_fragment"
  121. app:enterAnim="@anim/slide_in_right"
  122. app:exitAnim="@anim/slide_out_left"
  123. app:popEnterAnim="@anim/slide_in_left"
  124. app:popExitAnim="@anim/slide_out_right" />
  125. </fragment>
  126. <fragment
  127. android:id="@+id/material_inspection_table_fragment"
  128. android:name="com.grkj.iscs_mc.view.fragment.MaterialInspectionTableFragment"
  129. tools:layout="@layout/fragment_material_inspection_table" >
  130. <argument android:name="planId" app:argType="long" />
  131. </fragment>
  132. <fragment
  133. android:id="@+id/material_inspection_signature_fragment"
  134. android:name="com.grkj.iscs_mc.view.fragment.MaterialInspectionSignatureFragment"
  135. tools:layout="@layout/fragment_material_inspection_signature">
  136. <argument android:name="planId" app:argType="long" />
  137. <action
  138. android:id="@+id/action_inspection_signature_fragment_to_inspection_plan_fragment"
  139. app:destination="@id/material_inspection_plan_fragment"
  140. app:enterAnim="@anim/slide_in_right"
  141. app:exitAnim="@anim/slide_out_left"
  142. app:popEnterAnim="@anim/slide_in_left"
  143. app:popExitAnim="@anim/slide_out_right" />
  144. </fragment>
  145. </navigation>