Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #2868

Re: Threads and UI in Android

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Dirk Bruere at NeoPax <dirk.bruere@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Threads and UI in Android
Date Tue, 05 Apr 2011 01:30:28 +0100
Organization Dirk Bruere at Neopax
Lines 32
Message-ID <8vv64kF4voU1@mid.individual.net> (permalink)
References <8vrrsdF6urU1@mid.individual.net> <8vs005F5tmU1@mid.individual.net> <inark9$gr4$7@lust.ihug.co.nz> <inb4mo$2br$1@dont-email.me> <8vt2tjFcvhU1@mid.individual.net> <8vugc0F6boU1@mid.individual.net> <indelv$57i$1@dont-email.me> <8vuvpbFrt9U1@mid.individual.net> <indk8u$8n9$1@dont-email.me> <8vv2nfFf25U1@mid.individual.net> <indnkn$t9n$1@dont-email.me>
Reply-To dirk.bruere@gmail.com
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net SZHWTfefnnYuxpBblbdA1gf/lNbBleQx6ne1S8mwypVAAj3FyX
Cancel-Lock sha1:B0k32aV+CyDAAsZnZIQcHJflGFk=
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
In-Reply-To <indnkn$t9n$1@dont-email.me>
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2868

Show key headers only | View raw


On 05/04/2011 01:27, markspace wrote:
> On 4/4/2011 4:32 PM, Dirk Bruere at NeoPax wrote:
>> On 05/04/2011 00:29, markspace wrote:
>>> On 4/4/2011 3:41 PM, Dirk Bruere at NeoPax wrote:
>>>
>>>> BTW, do you any kind of feel for how long it would take to load a
>>>> ListView (and adapter/array) with (say) 1000 items comprising about
>>>> 100kB of data?
>>>
>>>
>>> Here's a different sort of question: do you know of any users who are
>>> actually going to use a list view with 1000 items in it?
>>
>> Yes
>
>
> Seriously? That's crazy.

List of 1000 videos, in alphabetical order

> I'd just load the 1000, then check the response. (You know, measure
> performance?) If it's too long, split the load into groups of 50 or 100
> or so, or whatever gives better updates and responsiveness for the UI.

I will do, but I don't have the real database to hand.
I've tested it with 85 and it seems to take about 0.2 seconds, which is 
just a guess.

-- 
Dirk

http://www.neopax.com/technomage/ - My new book - Magick and Technology

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-03 19:16 +0100
  Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-03 20:27 +0100
    Re: Threads and UI in Android Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-04 10:16 +1200
      Re: Threads and UI in Android markspace <-@.> - 2011-04-03 17:51 -0700
        Re: Threads and UI in Android "John B. Matthews" <nospam@nospam.invalid> - 2011-04-03 21:50 -0400
        Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-04 06:23 +0100
          Re: Threads and UI in Android Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-04 18:48 +1200
            Re: Threads and UI in Android markspace <-@.> - 2011-04-04 17:31 -0700
          Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-04 19:18 +0100
            Re: Threads and UI in Android markspace <-@.> - 2011-04-04 14:54 -0700
              Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-04 23:41 +0100
                Re: Threads and UI in Android markspace <-@.> - 2011-04-04 16:29 -0700
                Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-05 00:32 +0100
                Re: Threads and UI in Android markspace <-@.> - 2011-04-04 17:27 -0700
                Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-05 01:30 +0100
                Re: Threads and UI in Android Steve Sobol <sjsobol@JustThe.net> - 2011-04-04 18:53 -0700
                Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-05 03:19 +0100
                Re: Threads and UI in Android Steve Sobol <sjsobol@JustThe.net> - 2011-04-04 23:04 -0700
                Re: Threads and UI in Android Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-05 08:04 +0100
    Re: Threads and UI in Android markspace <-@.> - 2011-04-03 17:29 -0700

csiph-web