android-developers
[Arriba] [Todas las Listas]

[android-developers] Implementando atracción a refresh en un ListView u

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] Implementando atracción a refresh en un ListView utilizando headers
From: kcbanner <kcbanner@xxxxxxxxx>
Date: Mon, 31 Oct 2011 11:05:08 -0700 (PDT)
Delivery-date: Mon, 31 Oct 2011 14:10:20 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:user-agent:x-http-useragent :message-id:subject:from:to:x-original-sender: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=pLAY1RfZmfldAva2MAXHfF1X5Q8a4X0I6SR23G+SgDQ=; b=V4GD+LVauT9cZF1dyq0Y4SNgoIFb6ThQMIWQ7QTX77NMgCgd4DzVjBKLYGypGviZGR Ic3aa5xmGIgIY7HpUsWcxi+nXa17o5ltNWfKo/Er4gXR9xlJnjUnHh6Iq24SlzZlOLic NPaYg2InBBiu4PVBGV/iHaoR89k7G4+iBBK2g=
Envelope-to: traductor@xxxxxxxxxxx
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
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
User-agent: G2/1.0
*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

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

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