nestrefresh icon indicating copy to clipboard operation
nestrefresh copied to clipboard

Question about RefreshHeaderView

Open wider2 opened this issue 6 years ago • 1 comments

<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

wider2 avatar Dec 22 '19 06:12 wider2

This is just one simple demo refreshheader. You can create one custom view to do that with interface RefreshCallback.

ToDou avatar Jul 07 '20 14:07 ToDou