mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 14:05:40 +03:00
remove unused viewState
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
4388d66b23
commit
4b6a314514
1 changed files with 0 additions and 5 deletions
|
@ -40,7 +40,6 @@
|
|||
|
||||
package com.nextcloud.talk.polls.viewmodels
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import androidx.lifecycle.ViewModel
|
||||
import com.nextcloud.talk.polls.adapters.PollResultHeaderItem
|
||||
|
@ -59,10 +58,6 @@ class PollResultsViewModel @Inject constructor() : ViewModel() {
|
|||
val poll: Poll?
|
||||
get() = _poll
|
||||
|
||||
private val _viewState: MutableLiveData<ViewState> = MutableLiveData(InitialState)
|
||||
val viewState: LiveData<ViewState>
|
||||
get() = _viewState
|
||||
|
||||
private var _unfilteredItems: ArrayList<PollResultItem> = ArrayList()
|
||||
|
||||
private var _items: MutableLiveData<ArrayList<PollResultItem>?> = MutableLiveData<ArrayList<PollResultItem>?>()
|
||||
|
|
Loading…
Reference in a new issue