ScrollView cycle?

by Michael Dorin » Fri, 23 Apr 2010 00:07:01 GMT

Sponsored Links
 Anyway to have a ScrollView cycle back to the beginning when the end
is reached....or to the end when trying to scroll past the beginning?




ScrollView cycle?

by ~ TreKing » Fri, 23 Apr 2010 01:41:32 GMT


See this thread:

Sponsored Links

Other Threads

1. Tanya : Cara Install *.apk ?

malam rekan2 dan suhu/i
as subject , maklum nubie, saya bisanya download via market tapi karena
dimarket terbatas , jadi saya cari .apk digoogle tapi binggung cara
installnya di robot ijonya
mohon bantuannya.
Sent from my touch spica white

"Indonesian Android Community [id-android]" 

2. Default values in SharedPreferences

My application is somewhat complex and has lots of settable
preferences. Fortunately for the user, there are sensible defaults
that I can pre-configure. The SharedPreferences infrastructure
includes defaults in preferences.xml, which I have set accordingly.
The trouble is that if the user has never changed a particular
preference, then SharedPreferences.contains(key) returns false and
SharedPreferences.getXXX(key,default) returns the default field. This
creates a code management issue for defaults. The default values need
to be stored in two different places and kept in sync.

Ideally, the SharedPreferences infrastructure could be told to read in
the entire preferences.xml file so the SharedPreferences database is
loaded with all the initial values. But I haven't found any way to do
that. A key-value pair doesn't come into existence in the database
until the value is changed in the UI.

Second best would be to use the XMLReader to grab the default values,
something like this:

foo = SharedPreferences.getXXX(key,myDefaultReader(key));

Third best would be to store the defaults in their own file and manage
SharedPreferences files and defaults files as pairs. Then on
application startup the defaults file would be read and the values
propagated into the SharedPreferences database.

This is such a generic problem that I'm hoping someone has already
solved it and I can get something off the shelf. Any suggestions?


3. eclipse HELIOS (3.6) Code Assist very slow

4. About Blowfish Encryptio

5. Kaos & Sticker Android, Palm Pre, Flashdisk Transformer

6. Please help! Hebrew support on Motorola Milestone XT701 and other devices

7. Mod: Undangan Launching (Nexian Android Journey - 3)