Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nigel Wade Newsgroups: comp.lang.java.programmer Subject: Re: ArrayAdapter Date: Thu, 31 Mar 2011 14:47:41 +0100 Lines: 22 Message-ID: <8vjevuFn7mU1@mid.individual.net> References: <8vi26oFvh2U1@mid.individual.net> <8vj6efFla6U1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net Xa+ExceeGb3PzWNuQcZIKABUNPLVIlhlv7ZShaqqpOuvi2r0Co Cancel-Lock: sha1:KxEp4lsuNHNBZIGfVzkSCtoIqv4= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 In-Reply-To: <8vj6efFla6U1@mid.individual.net> Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2654 On 31/03/11 12:21, Dirk Bruere at NeoPax wrote: > private static void updateRadioTitles( ) { > > ... > radioTitleAdapter.add(titleStr); //PROBLEM > radioTitleAdapter.notifyDataSetChanged(); //PROBLEM > } > > How do I get at radioTitleAdapter? > You ask whatever object knows where it is to let you have a copy of a reference to it. Since your code doesn't actually show that information I can't give specific answers. But presumably some instance of class controller [sic] knows where one can be found, since the onCreate() method of that class creates one. -- Nigel Wade