mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-03-16 19:30:08 +01:00
removing the no longer needed getScrollingView call
This commit is contained in:
parent
719ee1f4b9
commit
c6259616c1
@ -157,6 +157,4 @@ class ContactsFragment(context: Context, attributeSet: AttributeSet) : MyViewPag
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun getScrollingView() = fragment_list
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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?
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user