removing the no longer needed getScrollingView call

This commit is contained in:
tibbi 2023-01-04 18:23:43 +01:00
parent 719ee1f4b9
commit c6259616c1
4 changed files with 0 additions and 9 deletions

View File

@ -157,6 +157,4 @@ class ContactsFragment(context: Context, attributeSet: AttributeSet) : MyViewPag
}
}
}
override fun getScrollingView() = fragment_list
}

View File

@ -190,6 +190,4 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa
(fragment_list.adapter as? ContactsAdapter)?.updateItems(contacts, text)
setupLetterFastscroller(contacts)
}
override fun getScrollingView() = fragment_list
}

View File

@ -3,7 +3,6 @@ package com.simplemobiletools.dialer.fragments
import android.content.Context
import android.util.AttributeSet
import android.widget.RelativeLayout
import androidx.core.view.ScrollingView
import com.simplemobiletools.commons.adapters.MyRecyclerViewAdapter
import com.simplemobiletools.commons.extensions.getProperPrimaryColor
import com.simplemobiletools.commons.extensions.getProperTextColor
@ -40,6 +39,4 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
abstract fun onSearchClosed()
abstract fun onSearchQueryChanged(text: String)
abstract fun getScrollingView(): ScrollingView?
}

View File

@ -143,6 +143,4 @@ class RecentsFragment(context: Context, attributeSet: AttributeSet) : MyViewPage
recents_placeholder.beVisibleIf(recentCalls.isEmpty())
(recents_list.adapter as? RecentCallsAdapter)?.updateItems(recentCalls, text)
}
override fun getScrollingView() = recents_list
}