[android-developers] Reusable code

2011-05-25 Thread Tommy
Hi, I'm new to android development and I've (not unexpectedly) run into a smal problem. The answer is out there, but it has not been clear to me. I'm making an application with four activities. Activity one spawns the other three into a tabview. Each of these three activites use two methods that

Re: [android-developers] Reusable code

2011-05-25 Thread TreKing
On Wed, May 25, 2011 at 12:26 PM, Tommy wrote: > So far I have copied this method-code into each activity, but there must be > a way to make such a method accessible to all three activities within this > application? > Of course. You could have a base class that does function that the others ext

[android-developers] Reusable code organization with Android Studio

2015-01-23 Thread Nobu Games
I've been pulling out my hair over this in the past two days and searched the Internet for best practices when it comes to organizing reusable code in an Android Studio project. Coming from an Eclipse development background it's not really all that intuitive to understand. This post is a bit lo