mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Add a new RoomThreadListScreen and hook it up to the RoomThreadListService
It will automatically paginate to fill the screen and update the list as updates come in.
This commit is contained in:
committed by
Stefan Ceriu
parent
e97ed6ec5c
commit
e7e1e990db
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// Copyright 2025 Element Creations Ltd.
|
||||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
enum RoomThreadListScreenViewModelAction { }
|
||||
|
||||
struct RoomThreadListScreenViewState: BindableState {
|
||||
var items = [RoomThreadListItem]()
|
||||
|
||||
var isPaginating = false
|
||||
|
||||
var bindings: RoomThreadListScreenViewStateBindings
|
||||
}
|
||||
|
||||
struct RoomThreadListScreenViewStateBindings { }
|
||||
|
||||
enum RoomThreadListScreenViewAction {
|
||||
case oldestItemDidAppear
|
||||
case oldestItemDidDisappear
|
||||
}
|
||||
Reference in New Issue
Block a user