From e8ad75d92421365f4e5e376fd725cf762ba81a72 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 7 Apr 2020 14:19:54 +0530 Subject: ui: codestyle nit Signed-off-by: Harsh Shandilya --- .../android/databinding/ObservableKeyedRecyclerViewAdapter.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/src/main/java/com/wireguard/android/databinding/ObservableKeyedRecyclerViewAdapter.kt b/ui/src/main/java/com/wireguard/android/databinding/ObservableKeyedRecyclerViewAdapter.kt index 56591d6f..29d09fbc 100644 --- a/ui/src/main/java/com/wireguard/android/databinding/ObservableKeyedRecyclerViewAdapter.kt +++ b/ui/src/main/java/com/wireguard/android/databinding/ObservableKeyedRecyclerViewAdapter.kt @@ -17,8 +17,10 @@ import java.lang.ref.WeakReference /** * A generic `RecyclerView.Adapter` backed by a `ObservableKeyedArrayList`. */ -class ObservableKeyedRecyclerViewAdapter> internal constructor(context: Context, private val layoutId: Int, - list: ObservableKeyedArrayList?) : RecyclerView.Adapter() { +class ObservableKeyedRecyclerViewAdapter> internal constructor( + context: Context, private val layoutId: Int, + list: ObservableKeyedArrayList? +) : RecyclerView.Adapter() { private val callback = OnListChangedCallback(this) private val layoutInflater: LayoutInflater = LayoutInflater.from(context) private var list: ObservableKeyedArrayList? = null -- cgit v1.2.3