Frank Weiss wrote:
> Although Mark's idea is workable, it may be bad OOD. It would work if
> all your apps are direct subclasses of Activity, but what if some are
> MapActivity, etc?
Yup.
:: wishes Java had Ruby's mixin capability for things like this ::
--
Mark Murphy (a Commons Guy)
http://co
Although Mark's idea is workable, it may be bad OOD. It would work if all
your apps are direct subclasses of Activity, but what if some are
MapActivity, etc? I think the answer may depend on that and how you want to
use the global menu. Using delegation, you could have each menu be created
by the s
MobDev wrote:
> Hi,
>
> I have implemented a Menu within an Activity, but I'd like this Menu
> to exist throughout my whole application...
> How can thsi be achieved ? Should I be placing the
> public boolean onCreateOptionsMenu(Menu menu)
> method within every single Activity or is there some way
Hi,
I have implemented a Menu within an Activity, but I'd like this Menu
to exist throughout my whole application...
How can thsi be achieved ? Should I be placing the
public boolean onCreateOptionsMenu(Menu menu)
method within every single Activity or is there some way to "share"
the menu ?
Than
4 matches
Mail list logo