Iconic list View gets very slow when a service (running music) starts in the background

by praj » Wed, 21 Apr 2010 05:17:05 GMT


Sponsored Links
 Hi,

I have an iconic list view which has lazy loading implemented. I have
used a wrapper class to improve its efficiency (wrapper class which
stores the ids of the list view) . My application is a media player
application where I have a list of songs and when the user clicks on
the songs the songs start playing (in the service which is in a
different background thread). When the songs start playing the list
view scrolling becomes really slow.

Please can any one let me know how we can optimize the scrolling of
the list view when a service is running in the background and if I am
missing on anything.

Thanks,
Prajakta

--



Other Threads

1. Changing the color of text in an EditText

Ello again!

I need to change the color of certain strings of text in an EditText
(think code highlighting, like in Eclipse). I have the parser done
with java.util.regex.*, but I can't figure out how to change the color
of just certain portions of the text. Like this:

<code>
[green]<html>[/green]
[green]<body>[/green]
Hello [green]<a [blue]href="http://groups.google.com"[/blue] >[/green]
Google Groups [green]</a>[/green]
[green]</body>[/green]
[green]</html>[/green]
</code>

Where the colors in the brackets is what the color of the text would
be. EditText.setText() doesn't work for formatting like it does for a
TextView. Is this functionality available in an EditText? If so, how
do I use it?
--~--~---------~--~----~------------~-------~--~----~

2. Warnings when launching emulator for SDK 1.1 (Ubuntu Linux)

I just downloaded the 1.1 emulator and ran it using -wipe-data as
instructed.
However, I always get two warnings when starting up the emulator:

### WARNING: Another emulator is running with our data file
### WARNING: User data changes will NOT be saved!

When I create user data (such as contacts) and save them, they are not
retained between emulator sessions as per the warnings.

When I run this from the 1.0 SDK, I do not get these warnings and I
can save user data.

Any advice would be appreciated.

Eric

--~--~---------~--~----~------------~-------~--~----~

3. Technical Editor for Android Book

4. a1200 porting issue, mismatch uid, binder cannot be permitted, pls help

5. And the G2 is announced....

6. Playing simple sounds on the emulator

7. Persisting graphics on a canvas (map overlay)