Remove unnecessary type annotations from binding properties
This commit is contained in:
parent
0e7e1d6867
commit
fe7d579408
|
@ -74,7 +74,7 @@ class EditContactActivity : ContactActivity() {
|
|||
private var numberViewToColor: EditText? = null
|
||||
private var emailViewToColor: EditText? = null
|
||||
private var originalContactSource = ""
|
||||
private val binding: ActivityEditContactBinding by viewBinding(ActivityEditContactBinding::inflate)
|
||||
private val binding by viewBinding(ActivityEditContactBinding::inflate)
|
||||
|
||||
enum class PrimaryNumberStatus {
|
||||
UNCHANGED, STARRED, UNSTARRED
|
||||
|
|
|
@ -27,7 +27,7 @@ class GroupContactsActivity : SimpleActivity(), RemoveFromGroupListener, Refresh
|
|||
private var groupContacts = ArrayList<Contact>()
|
||||
private var wasInit = false
|
||||
lateinit var group: Group
|
||||
private val binding: ActivityGroupContactsBinding by viewBinding(ActivityGroupContactsBinding::inflate)
|
||||
private val binding by viewBinding(ActivityGroupContactsBinding::inflate)
|
||||
|
||||
protected val INTENT_SELECT_RINGTONE = 600
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ class InsertOrEditContactActivity : SimpleActivity(), RefreshContactsListener {
|
|||
|
||||
private var isSelectContactIntent = false
|
||||
private var specialMimeType: String? = null
|
||||
private val binding: ActivityInsertEditContactBinding by viewBinding(ActivityInsertEditContactBinding::inflate)
|
||||
private val binding by viewBinding(ActivityInsertEditContactBinding::inflate)
|
||||
|
||||
private val contactsFavoritesList = arrayListOf(
|
||||
TAB_CONTACTS,
|
||||
|
|
|
@ -61,7 +61,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
|||
private var storedStartNameWithSurname = false
|
||||
private var storedFontSize = 0
|
||||
private var storedShowTabs = 0
|
||||
private val binding: ActivityMainBinding by viewBinding(ActivityMainBinding::inflate)
|
||||
private val binding by viewBinding(ActivityMainBinding::inflate)
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
|
|
@ -18,7 +18,7 @@ import kotlin.system.exitProcess
|
|||
|
||||
class SettingsActivity : SimpleActivity() {
|
||||
|
||||
private val binding: ActivitySettingsBinding by viewBinding(ActivitySettingsBinding::inflate)
|
||||
private val binding by viewBinding(ActivitySettingsBinding::inflate)
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
isMaterialActivity = true
|
||||
|
|
|
@ -42,7 +42,7 @@ class ViewContactActivity : ContactActivity() {
|
|||
private var fullContact: Contact? = null // contact with all fields filled from duplicates
|
||||
private var duplicateInitialized = false
|
||||
private val mergeDuplicate: Boolean get() = config.mergeDuplicateContacts
|
||||
private val binding: ActivityViewContactBinding by viewBinding(ActivityViewContactBinding::inflate)
|
||||
private val binding by viewBinding(ActivityViewContactBinding::inflate)
|
||||
|
||||
companion object {
|
||||
private const val COMPARABLE_PHONE_NUMBER_LENGTH = 9
|
||||
|
|
Loading…
Reference in New Issue