Yeah, same here, but they are handy in some cases.

On Jul 19, 11:18 pm, Justin Anderson <janderson....@gmail.com> wrote:
> *> Yeah, the ability to define a class inline like that is a very> powerful 
> feature of Java, but it can be very confusing since the {}
> > and () get nested so deeply and get so distantly separated.
>
> *
> Personally, I tend to avoid inline classes for that very reason...
>
> ----------------------------------------------------------------------
> There are only 10 types of people in the world...
> Those who know binary and those who don't.
> ----------------------------------------------------------------------
>
> On Mon, Jul 19, 2010 at 5:17 PM, DanH <danhi...@ieee.org> wrote:
> > Yeah, the ability to define a class inline like that is a very
> > powerful feature of Java, but it can be very confusing since the {}
> > and () get nested so deeply and get so distantly separated.
>
> > On Jul 19, 1:31 pm, Justin Anderson <janderson....@gmail.com> wrote:
> > > Your call to setOnClickListener is missing a closing parentheses... which
> > is
> > > why you get the error telling you to insert one.
>
> > > ----------------------------------------------------------------------
> > > There are only 10 types of people in the world...
> > > Those who know binary and those who don't.
> > > ----------------------------------------------------------------------
>
> > > On Mon, Jul 19, 2010 at 12:18 PM, martinmike2 <martinmi...@gmail.com>
> > wrote:
> > > > I should probably give some info background here.
>
> > > > The code is listening for a button click to call a private function
> > > > searched(String sTERM).
>
> > > > Im just starting app development and learning java at the same time.
> > > > not sure what im doing wrong.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Beginners" group.
>
> > > > NEW! Try asking and tagging your question on Stack Overflow at
> > > >http://stackoverflow.com/questions/tagged/android
>
> > > > To unsubscribe from this group, send email to
> > > > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> > <android-beginners%2bunsubscr...@googlegroups.com<android-beginners%252bunsubscr...@googlegroups.com>
>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-beginners?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
>
> > NEW! Try asking and tagging your question on Stack Overflow at
> >http://stackoverflow.com/questions/tagged/android
>
> > To unsubscribe from this group, send email to
> > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to