Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.java.programmer Subject: Re: ArrayAdapter Followup-To: comp.lang.java.programmer Date: Thu, 31 Mar 2011 16:02:20 +1300 Organization: Geek Central Lines: 11 Message-ID: References: <8vi26oFvh2U1@mid.individual.net> NNTP-Posting-Host: 118-92-92-183.dsl.dyn.ihug.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: lust.ihug.co.nz 1301540540 24269 118.92.92.183 (31 Mar 2011 03:02:20 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Thu, 31 Mar 2011 03:02:20 +0000 (UTC) User-Agent: KNode/4.4.7 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2625 In message <8vi26oFvh2U1@mid.individual.net>, Dirk Bruere at NeoPax wrote: > I have an ArrayAdapter in main. > How do I access it from another class? If it’s from another class in the same source file, you have access by default. If it’s from a different source file, make it a public member. This is all standard Java stuff, nothing peculiar to Android here.