Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement compose navigation in data table module #2202

Merged
merged 3 commits into from
Aug 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into nav_graph_data_table
Aditya-gupta99 authored Aug 22, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 096e0f9dee5b96afaa69bbee64ffc21c9db9f9f9
Original file line number Diff line number Diff line change
@@ -16,8 +16,11 @@ import com.mifos.feature.checker_inbox_task.navigation.checkerInboxTaskGraph
import com.mifos.feature.client.navigation.clientNavGraph
import com.mifos.feature.client.navigation.navigateClientDetailsScreen
import com.mifos.feature.client.navigation.navigateCreateClientScreen

import com.mifos.feature.data_table.navigation.dataTableNavGraph
import com.mifos.feature.data_table.navigation.navigateDataTable


import com.mifos.feature.document.navigation.documentListScreen
import com.mifos.feature.document.navigation.navigateToDocumentListScreen
import com.mifos.feature.groups.navigation.groupListScreen
@@ -62,12 +65,16 @@ fun Navigation(
Constants.ENTITY_TYPE_CLIENTS
)
},

moreClientInfo = {
navController.navigateDataTable(
Constants.DATA_TABLE_NAME_CLIENT,
it
)
},



notes = { navController.navigateToNoteScreen(it, Constants.ENTITY_TYPE_CLIENTS) },
loanAccountSelected = { navController.navigateToLoanAccountSummaryScreen(it) },
savingsAccountSelected = { id, type ->
@@ -183,9 +190,12 @@ fun Navigation(
)
generateCollectionSheetScreen(onBackPressed = navController::popBackStack)


dataTableNavGraph(
navController = navController,
clientCreated = {}
)


}
}
You are viewing a condensed version of this merge commit. You can view the full changes here.