gradle: Switch epoxy to KSP
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -153,7 +153,7 @@ dependencies {
|
||||
//Epoxy
|
||||
def epoxy_version = '5.1.2'
|
||||
implementation "com.airbnb.android:epoxy:$epoxy_version"
|
||||
kapt "com.airbnb.android:epoxy-processor:$epoxy_version"
|
||||
ksp "com.airbnb.android:epoxy-processor:$epoxy_version"
|
||||
|
||||
//HTTP Clients
|
||||
implementation "com.squareup.okhttp3:okhttp:4.11.0"
|
||||
|
||||
@@ -59,7 +59,7 @@ class InfoView : RelativeLayout {
|
||||
B = ViewInfoBinding.bind(view)
|
||||
}
|
||||
|
||||
@ModelProp
|
||||
@ModelProp(options = [ModelProp.Option.IgnoreRequireHashCode])
|
||||
fun badge(info: Map.Entry<String, String>) {
|
||||
B.txtTitle.text = info.key
|
||||
.replace("_", " ")
|
||||
|
||||
Reference in New Issue
Block a user