Skip to content

Instantly share code, notes, and snippets.

@Ochornma
Created April 25, 2021 18:41
Show Gist options
  • Select an option

  • Save Ochornma/c2b9aa120be032014d092fa2caeaf701 to your computer and use it in GitHub Desktop.

Select an option

Save Ochornma/c2b9aa120be032014d092fa2caeaf701 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<navigation 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:id="@+id/mobile_navigation"
app:startDestination="@+id/login">
<fragment
android:id="@+id/dashboard"
android:name="com.app.softkashadmin.ui.dashboard.DashboardFragment"
android:label="@string/menu_home"
tools:layout="@layout/fragment_dashboard" />
<fragment
android:id="@+id/loans"
android:name="com.app.softkashadmin.ui.loans.LoanFragment"
android:label="@string/menu_gallery"
tools:layout="@layout/fragment_loan" />
<fragment
android:id="@+id/users"
android:name="com.app.softkashadmin.ui.users.UsersFragment"
android:label="@string/menu_slideshow"
tools:layout="@layout/fragment_users" />
<fragment
android:id="@+id/admins"
android:name="com.app.softkashadmin.ui.admins.AdminsFragment"
android:label="Admins"
tools:layout="@layout/admins_fragment" />
<fragment
android:id="@+id/login"
android:name="com.app.softkashadmin.ui.login.LogInFragment"
android:label="Admins"
tools:layout="@layout/log_in_fragment">
<action
android:id="@+id/action_login_to_otp"
app:destination="@id/otp" />
</fragment>
<fragment
android:id="@+id/otp"
android:name="com.app.softkashadmin.ui.otp.OTPFragment"
android:label="OTP"
tools:layout="@layout/o_t_fragment">
<action
android:id="@+id/action_otp_to_dashboard"
app:destination="@id/dashboard" />
</fragment>
<fragment
android:id="@+id/pendingLoans"
android:name="com.app.softkashadmin.ui.pendinLoan.PendingLoansFragment"
android:label="Pending Loans"
tools:layout="@layout/pending_loans_fragment" />
<fragment
android:id="@+id/loanProduct"
android:name="com.app.softkashadmin.ui.loanProduct.LoanProductFragment"
android:label="Loan Products"
tools:layout="@layout/loan_product_fragment" />
<fragment
android:id="@+id/transactions"
android:name="com.app.softkashadmin.ui.transactions.TransactionsFragment"
android:label="Transactions"
tools:layout="@layout/transactions_fragment" />
<fragment
android:id="@+id/runningLoans"
android:name="com.app.softkashadmin.ui.runningLoan.RunningLoanFragment"
android:label="Running Loans"
tools:layout="@layout/running_loan_fragment" />
<fragment
android:id="@+id/userDetails"
android:name="com.app.softkashadmin.ui.users.usersDetails.UsersDetailsFragment"
android:label=" "
tools:layout="@layout/users_details_fragment" />
<fragment
android:id="@+id/userWallet"
android:name="com.app.softkashadmin.ui.users.usersDetails.UserDetailWalletFragment"
android:label=" "
tools:layout="@layout/user_detail_wallet_fragment" />
<fragment
android:id="@+id/userAccount"
android:name="com.app.softkashadmin.ui.users.usersDetails.UserDetailAccountFragment"
android:label=" "
tools:layout="@layout/fragment_user_detail_account" />
<fragment
android:id="@+id/userNextOfKin"
android:name="com.app.softkashadmin.ui.users.usersDetails.UserDetailNOKFragment"
android:label=" "
tools:layout="@layout/fragment_user_detail_n_o_k" />
<fragment
android:id="@+id/userEmployerDetails"
android:name="com.app.softkashadmin.ui.users.usersDetails.UserEmployerFragment"
android:label=" "
tools:layout="@layout/user_employer_fragment" />
<fragment
android:id="@+id/userDocument"
android:name="com.app.softkashadmin.ui.users.usersDetails.UserDocumentsFragment"
android:label=" "
tools:layout="@layout/fragment_user_documents" />
<fragment
android:id="@+id/repaymentHistory"
android:name="com.app.softkashadmin.ui.repaymentHistories.RepaymentHistoryFragment"
android:label="@string/repayment_history"
tools:layout="@layout/repayment_history_fragment" />
<fragment
android:id="@+id/adminDetails"
android:name="com.app.softkashadmin.ui.admins.AdminDetailsFragment"
android:label="Admin Details"
tools:layout="@layout/fragment_admin_details" />
<fragment
android:id="@+id/addAdmin"
android:name="com.app.softkashadmin.ui.admins.addAdmin.AddAdminFragment"
android:label=""
tools:layout="@layout/add_admin_fragment" />
<fragment
android:id="@+id/personalDetail"
android:name="com.app.softkashadmin.ui.userPersonalDetails.UserPersonalDetailsFragment"
android:label=""
tools:layout="@layout/user_personal_details_fragment" />
<fragment
android:id="@+id/zoomImage"
android:name="com.app.softkashadmin.ui.zoomDocument.ZoomDocumentFragment"
android:label=""
tools:layout="@layout/fragment_zoom_document" />
<fragment
android:id="@+id/userLoanDetails"
android:name="com.app.softkashadmin.ui.users.usersDetails.UserDetailLoansFragment"
android:label=""
tools:layout="@layout/user_detail_loans_fragment" />
<fragment
android:id="@+id/loanByStatus"
android:name="com.app.softkashadmin.ui.loanByStatus.LoanByStatusFragment"
android:label="@string/loan_by_status"
tools:layout="@layout/loan_by_status_fragment" />
<fragment
android:id="@+id/settings"
android:name="com.app.softkashadmin.ui.settings.SettingsFragment"
android:label="@string/settings"
tools:layout="@layout/settings_fragment" />
<fragment
android:id="@+id/approved"
android:name="com.app.softkashadmin.ui.approvedLoans.ApprovedLoansFragment"
android:label="@string/waiting_for_disbursed"
tools:layout="@layout/approved_loans_fragment" />
<fragment
android:id="@+id/systemAnalysis"
android:name="com.app.softkashadmin.ui.systemAnalysis.SystemAnalysisFragment"
android:label=""
tools:layout="@layout/system_analysis_fragment" />
<fragment
android:id="@+id/searchUser"
android:name="com.app.softkashadmin.ui.users.searchUsers.SearchUserFragment"
android:label=""
tools:layout="@layout/search_user_fragment" />
<fragment
android:id="@+id/searchLoans"
android:name="com.app.softkashadmin.ui.loans.searchLoans.SearchLoansFragment"
android:label=""
tools:layout="@layout/search_loans_fragment" />
<fragment
android:id="@+id/searchTransaction"
android:name="com.app.softkashadmin.ui.transactions.searchTransaction.SearchTransactionFragment"
android:label=""
tools:layout="@layout/search_transaction_fragment" />
<fragment
android:id="@+id/filterLoans"
android:name="com.app.softkashadmin.ui.loans.filterLoan.FilterLoanFragment"
android:label=""
tools:layout="@layout/filter_loan_fragment" />
<fragment
android:id="@+id/filterTransactions"
android:name="com.app.softkashadmin.ui.transactions.searchTransactionByDate.FilterTransactionFragment"
android:label=""
tools:layout="@layout/filter_transaction_fragment" />
<fragment
android:id="@+id/addLoanProduct"
android:name="com.app.softkashadmin.ui.loanProduct.AddLoanProductFragment"
android:label=""
tools:layout="@layout/add_loan_product_fragment" />
<fragment
android:id="@+id/typeOfBusiness"
android:name="com.app.softkashadmin.ui.typeOfBusiness.TypeOfBusinessFragment"
android:label=""
tools:layout="@layout/type_of_business_fragment" />
<fragment
android:id="@+id/addTypeOfBusiness"
android:name="com.app.softkashadmin.ui.typeOfBusiness.addTypeOfBusiness.AddTypeOfBusinessFragment"
android:label=""
tools:layout="@layout/add_type_of_business_fragment" />
<fragment
android:id="@+id/reasonForLoan"
android:name="com.app.softkashadmin.ui.reasonForLoan.ReasonForLoanFragment"
android:label=""
tools:layout="@layout/reason_for_loan_fragment" />
<fragment
android:id="@+id/addReasonForLoan"
android:name="com.app.softkashadmin.ui.reasonForLoan.addReason.AddReasonForLoanFragment"
android:label=""
tools:layout="@layout/add_reason_for_loan_fragment" />
<fragment
android:id="@+id/bureau"
android:name="com.app.softkashadmin.ui.bureau.BureauFragment"
android:label=""
tools:layout="@layout/bureau_fragment" />
<fragment
android:id="@+id/roles"
android:name="com.app.softkashadmin.ui.roles.RolesFragment"
android:label=""
tools:layout="@layout/roles_fragment" />
<fragment
android:id="@+id/addRoles"
android:name="com.app.softkashadmin.ui.roles.addRoles.AddRolesFragment"
android:label=""
tools:layout="@layout/add_roles_fragment" />
<fragment
android:id="@+id/verify_bvn"
android:name="com.app.softkashadmin.ui.verifyBvn.VerifyBVNFragment"
android:label=""
tools:layout="@layout/verify_b_v_n_fragment" />
</navigation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment