On Tue, May 11, 2010 at 4:06 AM, Federico Paolinelli wrote:
> I found myself using the same code for accessing to gps / cell location
> stuff from a couple of activities of my application.
>
Yup, it happens.
> What I was wondering now is, which is the best way to avoid
> code duplication?
>
Do
I found myself using the same code for accessing to gps / cell
location stuff from a couple of activities of my application.
What I was wondering now is, which is the best way to avoid code
duplication?
Should I use a superclass for the activities which implements that
kind of stuff? Use an helper
2 matches
Mail list logo