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 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> References: <8vrrsdF6urU1@mid.individual.net> <8vs005F5tmU1@mid.individual.net> <8vt2tjFcvhU1@mid.individual.net> <8vugc0F6boU1@mid.individual.net> <8vuvpbFrt9U1@mid.individual.net> <8vv2nfFf25U1@mid.individual.net> 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: Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2868 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