1 package com.android.healthconnect.controller.permissions.connectedapps.searchapps 2 3 import android.content.Context 4 import androidx.preference.Preference 5 import androidx.preference.PreferenceViewHolder 6 import com.android.healthconnect.controller.R 7 8 /** Custom preference for displaying no search result. */ 9 class NoSearchResultPreference 10 constructor( 11 context: Context, 12 ) : Preference(context) { 13 14 init { 15 layoutResource = R.layout.widget_no_search_result 16 key = "no_search_result_preference" 17 } 18 onBindViewHoldernull19 override fun onBindViewHolder(holder: PreferenceViewHolder) { 20 super.onBindViewHolder(holder) 21 } 22 } 23