android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Implementando atracción a refresh en un ListVi

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Implementando atracción a refresh en un ListView utilizando headers
From: Mark Murphy <mmurphy@xxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2011 14:13:21 -0400
Delivery-date: Mon, 31 Oct 2011 14:15:26 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=FUZQiNvetn/RonbBuY+Zt+KnSPNDWi9ap4OPPpcOa50=; b=dQpnRGA4BnErlTdHpODKZizVfwAPgjKWZ+AUQoe45J8dXTiQZaN85nGpuZ95QjOyrW Hw75TEywmcrZwCHP+4pgWYKTYYSs1fT7R0Bq92R1Kz2ni/Vp0nETJvKiLwD+lAK9WipV Wu6tBPcL74910FAzZj8Dyta2V/67VJI4ByTW8=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <ab2e4e67-aff8-4a17-8a7f-9b9fa3fe0dde@g27g2000pre.googlegroups.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <ab2e4e67-aff8-4a17-8a7f-9b9fa3fe0dde@g27g2000pre.googlegroups.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Aquí es #unos cuantos atracción-a-*refresh implementaciones:

*http://*stackoverflow.*com/Cuestiona/4583484/qué-a-implementar-*android-atracción-a-*refresh

En *Mon, *Oct 31, 2011 en 2:05 PM, *kcbanner <kcbanner@xxxxxxxxx> escribió:
> *Hi,
>
> he tenido el éxito que implementa un *Twitter-atracción de estilo a *refresh
> *ListView, con uno pequeño *caveat: no puedo encontrar una manera de hacer el *header
> la vista toma no espacial arriba de en el *scrollbar (mi atracción a *refresh la vista es
> añadió al *ListView como *header).
>
> He *setup *onScrollListeners y *onTouchEvent *handlers para crear la atracción
> a *refresh comportamiento, incluyendo imposibilitando un *fling *scroll de ir
> completamente hasta el *header posición. Aun así, el problema tengo es que el *scrollbar revela que hay un *header en
> el *ListView. Me gustaría para tener el *scrollbar aparece tan aun así el
> *ListView es *scrolled completamente arriba, incluso aun así hay un *header en
> posición 0. Es allí una manera de hacer esto? He probado *leveraging sobre
> *scrolling sin éxito.
>
> *Thanks,
> Casey
>
> --
> recibiste este mensaje porque eres *subscribed al *Google
> Grupos "*Android *Developers" grupo.
> A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
> A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx
> 
> Puesto que más opciones, visita este grupo en
> *http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
>



-- 
Mark *Murphy (un *Commons Guy)
*http://*commonsware.*com | *http://*github.*com/*commonsguy
*http://*commonsware.*com/*blog | *http://*twitter.*com/*commonsguy

_*Android Programación *Tutorials_ Versión 4.0 Disponible!

-- 
Recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en

Here are a few pull-to-refresh implementations:

http://stackoverflow.com/questions/4583484/how-to-implement-android-pull-to-refresh

On Mon, Oct 31, 2011 at 2:05 PM, kcbanner <kcbanner@xxxxxxxxx> wrote:
> Hi,
>
> I have had success implementing a Twitter-style pull to refresh
> ListView, with one small caveat: I can't find a way to make the header
> view take no space up on the scrollbar (my pull to refresh view is
> added to the ListView as a header).
>
> I have setup onScrollListeners and onTouchEvent handlers to create the
> pull to refresh behaviour, including disabling a fling scroll from
> going all the way up to the header position. However, the problem I
> have is that the scrollbar reveals that there is a header in the
> ListView. I would like to have the scrollbar appear as though the
> ListView is scrolled all the way up, even though there is a header in
> position 0. Is there a way to do this? I have tried leveraging over
> scrolling without success.
>
> Thanks,
> Casey
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@xxxxxxxxxxxxxxxx
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<Anterior por Tema] Tema Actual [Siguiente por Tema>