nestrefresh
nestrefresh copied to clipboard
Question about RefreshHeaderView
<com.todou.nestrefresh.RefreshHeaderView
there is 3 text sentences appears when we call this object RefreshHeaderView
private lateinit var textBelowThreshold: CharSequence
private lateinit var textAboveThreshold: CharSequence
private lateinit var textRefreshing: CharSequence
can you add simple check to the library, to show/hide it by request? in case of idea to hide the sentence
by example, something like this public function:
fun toggleTextAppear(toggle Boolean) { _showHide = toggle } and variable _showHide will show or hide that text
This is just one simple demo refreshheader. You can create one custom view to do that with interface RefreshCallback.