flick scrolling
by bob » Fri, 20 May 2011 08:36:07 GMT
Sponsored Links
Is there an easy way to do that scrolling where someone moves their
finger really fast across the screen and the scrolling continues a bit
after their finger has lifted?
--
Re: flick scrolling
by TreKing » Fri, 20 May 2011 08:43:06 GMT
Yup - real easy - just put your finger down on a scrollable item on the
screen and flick it really fast. It will do exactly what you describe.
-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices
--
Sponsored Links
Other Threads
1. Problem with List view's getCheckedItemPositions() sparse boolean array
(Sorry for re-mailing)
Hi guys,
I'm facing a problem with the result returned by list view's
getCheckedItemPositions() method. This is the scenario:
-I'm using a list view in multiple choice mode (list view with checkboxes) -
the idea being that a user can select several items and delete them at once.
-When the user clicks on the "delete" button, i use list view's
getCheckedItemPositions() method to retrieve the checked item positions and
i proceed to delete the items.
-This is the "tricky" part: i begin by checking the number of times i have
to delete eg. if the user has checked 3 items, then i'll delete 3 times.
- Each time i delete an item, i retrieve the checked item positions -
because after every delete the state of the list changes...
So what do i expect when i call getCheckedItemPositions() after deleting an
item ? i expect the checked item position keys to change to reflect the
state of the list... if i'm not wrong
eg.
- i have a list with 6 items [a, b, c, d, e, f], and the user checks d, e
and f , keys 3, 4 and 5 of the checked item positions list will be true - OK
- in code, i remove item d at position 3 of my list using the adapter so
my list is now [a, b, c, e, f] - at this point i do
myList.getCheckedItemPositions() expecting the returned sparse array to be
true for keys 3 & 4 - but this is not the case , instead the checked items
are exactly the same as those of the list before deleting any item.
I could be missing something here - could someone please clarify this.. ?
Thanks in advance,
--
2. problem sending an email with an attachment programmatically
I am also having this attachment issue with the Email application. It
works perfectly fine with the GMail app, which throwing me for a
loop. My code is as follows:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile
(attachmentFile));
startActivity(Intent.createChooser(sendIntent, "MailSender"));
Any ideas as to what's going on?
--
3. Google Maps Navigation integration
4. Failed to persist new stats
5. 2010 Mobile Developer Survey Invitation
6. Upgrade from Android SDK 1.5 to SDK 2.0.1
7. How do I get the current image using a service