Migrate SettingsController to kotlin + viewbinding

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-05-13 17:11:35 +02:00
parent 19186feb5f
commit 84fea0ba80
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
4 changed files with 1067 additions and 1037 deletions

File diff suppressed because it is too large Load Diff

View File

@ -30,11 +30,7 @@ import kotlinx.android.parcel.Parcelize
data class GenericOverall( data class GenericOverall(
@JsonField(name = ["meta"]) @JsonField(name = ["meta"])
var meta: GenericMeta? = null var meta: GenericMeta? = null
) : IGenericOCS, Parcelable { ) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject' // This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
constructor() : this(null) constructor() : this(null)
override fun getGenericMeta(): GenericMeta? {
return meta
}
} }

View File

@ -1,5 +1,5 @@
build: build:
maxIssues: 91 maxIssues: 89
weights: weights:
# complexity: 2 # complexity: 2
# LongParameterList: 1 # LongParameterList: 1