Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3223
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Lew <noone@lewscanon.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Initializing from context passing |
| Date | Sat, 23 Apr 2011 18:35:26 -0400 |
| Organization | albasani.net |
| Lines | 19 |
| Message-ID | <iovk75$jdp$3@news.albasani.net> (permalink) |
| References | <91ga4tF38vU1@mid.individual.net> <iouv3r$5ls$1@dont-email.me> <91gnv8F6ooU1@mid.individual.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.albasani.net 3WPolD65W+S0+G47Xx1yH0QFaAkCApTKou3yQtnLsHGULz0eOtdbU3YKtoV1ejZAOlIKcJIoXe5obFnsjonv3P0+HS+HmmOq2EpkrXI+qQvE+U4kVy74Fm761/a82AXv |
| NNTP-Posting-Date | Sat, 23 Apr 2011 22:35:17 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="uwrjtkdbjCHSLPxvjz4HPs4zGzDygUkthccfS0eOxFQjRa9wNNxKgxu3hIMd3mY+HVY69ZWijJ3XK9xbAzv6VkJXPcUcYAKx925+HslsYJ3mLwLnFZhvTxNvRMyT/lQQ"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
| In-Reply-To | <91gnv8F6ooU1@mid.individual.net> |
| Cancel-Lock | sha1:Sn1lWZVQGeVqVnBwk5qWByYhTfQ= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3223 |
Show key headers only | View raw
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? -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
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