Android-dev.it Community

 
Annunci

:arrow: Benvenuto!, se non sei ancora un utente registrato: puoi registrati qui, oppure effettua il login
:arrow: Apri un forum sul tuo nuovo smartphone Android e collabora con noi! (dettagli)

www.agendadigitale.org
Image


Sponsor
It is currently Wed May 23, 2012 6:05 pm

All times are UTC + 1 hour


 Topics   Replies   Views   Last post 
No new posts На интернет-витрине

by popowahgjfghjoiuyt on Sat May 19, 2012 2:25 pm in Amministrazione

0

15

Sat May 19, 2012 2:25 pm

popowahgjfghjoiuyt

No new posts Apri un forum sul tuo nuovo smartphone Android!

[ Go to page: 1, 2, 3 ]

by ReattileGar on Fri May 18, 2012 5:27 pm in Amministrazione

27

12547

Fri May 18, 2012 5:27 pm

ReattileGar

No new posts Новый: базы для хрумера - профессиональный софт для СЕО.

by Renatafe on Fri May 18, 2012 3:14 pm in Amministrazione

0

23

Fri May 18, 2012 3:14 pm

Renatafe

No new posts Pace is undoubtedly the vital affordable Jerseys Wholesale d

by barnettmmolive2012 on Wed May 16, 2012 7:36 am in Amministrazione

1

48

Wed May 16, 2012 7:36 am

barnettmmolive2012

No new posts Problema di compatibilità app

by deran on Tue May 15, 2012 10:44 am in Sviluppo e programmazione in Android

4

201

Tue May 15, 2012 10:44 am

deran




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Listview come rubrica
PostPosted: Mon Dec 20, 2010 11:33 am 
Offline
User avatar

Joined: Mon Dec 20, 2010 9:38 am
Posts: 9
Punti Android: ?
Ri-buongiorno,
Quesito numero 2.

Potrebbe essere molto molto utile per la mia applicazione implementare una listview identica a quella della rubrica di android 2.2. In particolare sarebbe enormemente utile sia la divisione delle voci per lettera che quel oggettino a destra che permette di scorrere velocemente le varie lettere per arrivare subito a quella desiderata. Essendo una funzionalità "di sistema" speravo di poterla usare anche io :-P

Grazie


Top
 Profile  
 
 Post subject: Re: Listview come rubrica
PostPosted: Mon Dec 20, 2010 4:28 pm 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
Risposta num. 2 :),
puoi aggiungere una trackball per lo scrolling "veloce" di una listview semplicemente settando a "true" l'attributo android:fastScrollEnabled nel file main.xml:

Code:
<ListView
    android:layout_height="fill_parent"         
    android:layout_width="fill_parent"         
    android:id="@+id/android:list"         
    android:fastScrollEnabled="true">
</ListView>

Per "raggruppare" i vari items sulla base di caratteristiche comuni (es. prima lettera) in fase di scrolling, devi implementare l'interfaccia ***URLs are hidden from guests, please register and login to view the hyperlink***


Top
 Profile  
 
 Post subject: Re: Listview come rubrica
PostPosted: Mon Dec 20, 2010 4:41 pm 
Offline
User avatar

Joined: Mon Dec 20, 2010 9:38 am
Posts: 9
Punti Android: ?
Grazie mille. Adesso lo provo!!! :a17:


Top
 Profile  
 
 Post subject: Re: Listview come rubrica
PostPosted: Mon Dec 20, 2010 5:51 pm 
Offline
User avatar

Joined: Mon Dec 20, 2010 9:38 am
Posts: 9
Punti Android: ?
Funziona tutto perfettamente. Grazie mille :drink:


Top
 Profile  
 
 Post subject: Re: Listview come rubrica
PostPosted: Mon Jan 17, 2011 10:31 am 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
:a1: :wave:


Top
 Profile  
 
 Post subject: Re: Listview come rubrica
PostPosted: Sat Dec 10, 2011 11:47 am 
Offline
User avatar

Joined: Sat Dec 10, 2011 11:44 am
Posts: 1
Cellulare Android: Samsung i5700 Galaxy lite
Operatore: Wind
Punti Android: ?
Ehm...potete mettere qualche pezzo di codice?
Non ho capito come implementare il sectionindexer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

All trademarks and logos used in this site are of properties of their respective owners.