I have several applications that differ mainly in resources. I am currently copying the code for each application. This can be problematic. Example: fixing a mistake in one and forgetting to update the rest.
I donβt think that creating a JAR is suitable for this situation, as these are application-specific user interface classes (actually activity classes in Android), including the actual application launch code.
Perhaps these source files can be included in several packages, but then I have a problem that each file indicates a specific package name in the first line.
Most of the code is related to UI and Activity processing. (The actual shared code is already in the library). A similar question is posted here . Are there any elegant solutions for this situation?
source
share