Basic building blocks for Android applications.
A mechanism to terminate/restart an application gracefully is implemented. The mechanism is achieved based on the idea of "finish chain". See the description about onResume() method of BaseActivity for details.
The expected flow to start implementing an application is as follows.
-
Set BaseApplication or its subclass as application name in AndroidManifest.xml. (See BaseApplication for details.)
-
Create a subclass of BaseRootActivity and set it as the main activity. (See BaseRootActivity for details.)
-
Implement your activities which support "finish chain" mechanism by extending Base*Activity or by using ActivityHelper.
Apache License, Version 2.0
git clone https://github.com/TakahikoKawasaki/nv-android-base.git
Javadoc of Neo Visionaries Android Base Package
<dependency>
<groupId>com.neovisionaries</groupId>
<artifactId>nv-android-base</artifactId>
<version>1.11</version>
</depenency>
Takahiko Kawasaki, Neo Visionaries Inc.