Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about RefreshHeaderView #9

Open
wider2 opened this issue Dec 22, 2019 · 1 comment
Open

Question about RefreshHeaderView #9

wider2 opened this issue Dec 22, 2019 · 1 comment

Comments

@wider2
Copy link

wider2 commented Dec 22, 2019

<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

@ToDou
Copy link
Owner

ToDou commented Jul 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants