Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3226
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!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: Initializing from context passing |
| Date | Sun, 24 Apr 2011 01:17:59 +0100 |
| Organization | Dirk Bruere at Neopax |
| Lines | 26 |
| Message-ID | <91h8hcFlmbU1@mid.individual.net> (permalink) |
| References | <91ga4tF38vU1@mid.individual.net> <iouv3r$5ls$1@dont-email.me> <91gnv8F6ooU1@mid.individual.net> <iovk75$jdp$3@news.albasani.net> |
| Reply-To | dirk.bruere@gmail.com |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net XlL1PL7mvjwNCAfu0WKhRQ7iT928fYZt2pHWpLIR26Lz/HzXXm |
| Cancel-Lock | sha1:mGNPlOxTTFQRKsCCdku94oHIDM0= |
| 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 | <iovk75$jdp$3@news.albasani.net> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3226 |
Show key headers only | View raw
On 23/04/2011 23:35, Lew wrote: > On 04/23/2011 03:34 PM, Dirk Bruere at NeoPax wrote: >> Daniele Futtorovic wrote: >>> And do use interface types rather than implementations, unless you >>> specifically rely on a detail of the implementation (which is often a >>> bad sign). That is, make it a List<T>, not an ArrayList<T>. >> >> I would appreciate a pointer to an example. >> Everything I have come across in the Android examples I have seen uses >> ArrayAdapter > > They said to use 'List' instead of 'ArrayList', not instead of > 'ArrayAdapter'! > > It makes absolutely no sense, and would not compile, to use 'List' in > lieu of 'ArrayAdapter', n'est-ce pas? > True, my mistake. But having said that, all the examples I have seen use ArrayList and not List -- Dirk http://www.neopax.com/technomage/ - My new book - Magick and Technology
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Initializing from context passing Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-23 16:39 +0100
Re: Initializing from context passing Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-04-23 18:35 +0200
Re: Initializing from context passing Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-23 19:12 +0100
Re: Initializing from context passing Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-04-23 21:47 +0200
Re: Initializing from context passing Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-23 20:34 +0100
Re: Initializing from context passing Lew <noone@lewscanon.com> - 2011-04-23 18:35 -0400
Re: Initializing from context passing Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-24 01:17 +0100
Re: Initializing from context passing Lew <noone@lewscanon.com> - 2011-04-23 20:32 -0400
csiph-web