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

Each time I pull to refresh my item in the list is clicked #25

Closed
lechon opened this issue May 17, 2013 · 7 comments
Closed

Each time I pull to refresh my item in the list is clicked #25

lechon opened this issue May 17, 2013 · 7 comments

Comments

@lechon
Copy link

lechon commented May 17, 2013

Hi,
I'm trying to use your project but actually I'm having a problem with the ClickEvent.
Each time I do pull to refresh, the item pressed under my finger is called with the ClickEvent. I need to be able to do click the items but not when i'm refreshing it.
I've been trying to control the list onItemClick event with the method isRefreshing() but before the State is updated, the Item Click Event is called and launch the detail associated to this item.
Is there any way to control the pass of the event?

Ps: when I declare the < eu.erikw.PullToRefreshListView.. I've added the android:clickable="false"/>.

@erikwt
Copy link
Owner

erikwt commented May 21, 2013

Hi, are you using the master or development branch? And are you up to date?

Erik

@lechon
Copy link
Author

lechon commented May 22, 2013

I have the master branch and yes, i download the latest version two weeks ago.
Jose M

@erikwt
Copy link
Owner

erikwt commented May 23, 2013

Could you try the 'development' branch? There are some fixes merged there from pull requests that might solve your problem.

Erik

@lechon
Copy link
Author

lechon commented May 23, 2013

Thanks, I will try asap.
Jose M

@wemakeweb
Copy link

I have the same Issue with the development branch. Seams to happen if you pull the menu down very fast

@lechon
Copy link
Author

lechon commented May 29, 2013

Yes, the problem has been kept in both branches. There's a few better things in the developer branch but this problem hasn't been solved yet. Totally agree with wemakeweb, if you click carefully, you might avoid select a row, but this way it isn't easy to use when we have to use both effects, pull and click.

@erikwt
Copy link
Owner

erikwt commented Jun 6, 2013

Fix merged in master and development. Thanks @vibu!

@erikwt erikwt closed this as completed Jun 6, 2013
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

3 participants