mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
replace @JvmField with lateinit vars
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
bfcab7cb49
commit
87fdd7017d
@ -60,17 +60,14 @@ class IncomingPollMessageViewHolder(incomingView: View, payload: Any) : MessageH
|
|||||||
private val binding: ItemCustomIncomingPollMessageBinding =
|
private val binding: ItemCustomIncomingPollMessageBinding =
|
||||||
ItemCustomIncomingPollMessageBinding.bind(itemView)
|
ItemCustomIncomingPollMessageBinding.bind(itemView)
|
||||||
|
|
||||||
@JvmField
|
|
||||||
@Inject
|
@Inject
|
||||||
var context: Context? = null
|
lateinit var context: Context
|
||||||
|
|
||||||
@JvmField
|
|
||||||
@Inject
|
|
||||||
var appPreferences: AppPreferences? = null
|
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
@JvmField
|
lateinit var appPreferences: AppPreferences
|
||||||
var ncApi: NcApi? = null
|
|
||||||
|
@Inject
|
||||||
|
lateinit var ncApi: NcApi
|
||||||
|
|
||||||
lateinit var message: ChatMessage
|
lateinit var message: ChatMessage
|
||||||
|
|
||||||
|
@ -57,17 +57,14 @@ class OutcomingPollMessageViewHolder(outcomingView: View, payload: Any) : Messag
|
|||||||
private val binding: ItemCustomOutcomingPollMessageBinding =
|
private val binding: ItemCustomOutcomingPollMessageBinding =
|
||||||
ItemCustomOutcomingPollMessageBinding.bind(itemView)
|
ItemCustomOutcomingPollMessageBinding.bind(itemView)
|
||||||
|
|
||||||
@JvmField
|
|
||||||
@Inject
|
@Inject
|
||||||
var context: Context? = null
|
lateinit var context: Context
|
||||||
|
|
||||||
@JvmField
|
|
||||||
@Inject
|
|
||||||
var appPreferences: AppPreferences? = null
|
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
@JvmField
|
lateinit var appPreferences: AppPreferences
|
||||||
var ncApi: NcApi? = null
|
|
||||||
|
@Inject
|
||||||
|
lateinit var ncApi: NcApi
|
||||||
|
|
||||||
lateinit var message: ChatMessage
|
lateinit var message: ChatMessage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user