Skip to content
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.

Fix the pull happening when the top element is not shown #234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Aug 6, 2013

I know it's not maintained but others may see this important patch.

@robUx4
Copy link
Contributor Author

robUx4 commented Aug 6, 2013

There is no dev branch anymore

On Tue, Aug 6, 2013 at 5:05 PM, Oleg Vaskevich [email protected]:

Do another pull against dev?

"I will gladly accept pull requests for fixes and feature enhancements but
please do them in the dev branch. The master branch is for the latest
stable code, dev is where I try things out before releasing them as stable.
Any pull requests that are against master from now on will be closed asking
for you to do another pull against dev."


Reply to this email directly or view it on GitHubhttps://github.com//pull/234#issuecomment-22185196
.

@Boelroy
Copy link

Boelroy commented Mar 4, 2014

Is this can solve the Problem when there is only a header?

@meablelee2013
Copy link

Sorry ,i have no idea that i cannot pull any new request,so i pull my question here ,my question is
how can i show the loading view at the header like i pull down the list view or scrollview when i enter the new activity or fragment at the first time which the data i get from web .
thank you

@dolphinwang
Copy link

you can use the method setRefreshing. Hope can help you.

------------------ 原始邮件 ------------------
发件人: "meablelee2013";[email protected];
发送时间: 2014年6月23日(星期一) 中午11:26
收件人: "chrisbanes/Android-PullToRefresh"[email protected];

主题: Re: [Android-PullToRefresh] Fix the pull happening when the topelement is not shown (#234)

Sorry ,i have no idea that i cannot pull any new request,so i pull my question there ,my question is
how can i show the loading at the header like i pull down the list view or scrollview at the first time.
thank you


Reply to this email directly or view it on GitHub.

@meablelee2013
Copy link

@dolphinwang i had used the method setRefreshing, it cannot work,but when i call the setRefreshing second time,it can show the loading view at the header .For example,i enter a new activity ,and call a method(getDataFromWeb) to get data form web in the OnCreate() method,and then call setRefreshing,it cannot appear show loading at the header ,but if i call the method (getDataFromWeb) another time ,it can work(will appear the loading view at the header),so ,i am confused ,why.

@dolphinwang
Copy link

According to your description, I'm not sure which problem occur. May the first time you call getDataFromWeb, the Activity has not got it's focus. You can try call getDataFromWeb in onResume, see weather listview shows it's loading header.

------------------ 原始邮件 ------------------
发件人: "meablelee2013";[email protected];
发送时间: 2014年6月23日(星期一) 下午4:45
收件人: "chrisbanes/Android-PullToRefresh"[email protected];
抄送: "dolphin wang"[email protected];
主题: Re: [Android-PullToRefresh] Fix the pull happening when the topelement is not shown (#234)

@dolphinwang i had used the method setRefreshing, it cannot work,but when i call the setRefreshing second time,it can show the loading view at the header ,for example,i enter a new activity ,and call a method(getDataFromWeb) to get data form web in the OnCreate() method,and then call setRefreshing,it cannot appear show loading at the header ,but if i call the method (getDataFromWeb) another time ,it can work(will appear the loading view at the header),so ,i am confused ,why.


Reply to this email directly or view it on GitHub.

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

Successfully merging this pull request may close these issues.

6 participants