File tree Expand file tree Collapse file tree
feature/data-table/src/commonMain/kotlin/com/mifos/feature/dataTable/dataTableList Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2024 Mifos Initiative
3+ *
4+ * This Source Code Form is subject to the terms of the Mozilla Public
5+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6+ * file, You can obtain one at https://mozilla.org/MPL/2.0/.
7+ *
8+ * See https://github.com/openMF/mifos-x-field-officer-app/blob/master/LICENSE.md
9+ */
10+ package com.mifos.feature.dataTable.dataTableList
11+
12+ import com.mifos.room.entities.client.ClientPayloadEntity
13+ import org.jetbrains.compose.resources.StringResource
14+
15+ /* *
16+ * Created by Aditya Gupta on 10/08/23.
17+ */
18+ sealed class DataTableListUiState {
19+
20+ data object Loading : DataTableListUiState ()
21+
22+ data class ShowMessage (val message : StringResource ? = null ) : DataTableListUiState()
23+
24+ data class Success (val message : StringResource ? = null , val client : ClientPayloadEntity ? = null ) :
25+ DataTableListUiState ()
26+ }
You can’t perform that action at this time.
0 commit comments