mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-07-01 13:56:52 -04:00
Add template Javadocs. Needs actual documentation yet.
This commit is contained in:
@ -3,14 +3,28 @@ package com.uncc.gameday;
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
|
||||
// TODO: Auto-generated Javadoc
|
||||
/**
|
||||
* The Class GameDay.
|
||||
*/
|
||||
public class GameDay extends Application{
|
||||
|
||||
/** The context. */
|
||||
private static Context context;
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see android.app.Application#onCreate()
|
||||
*/
|
||||
public void onCreate(){
|
||||
super.onCreate();
|
||||
GameDay.context = getApplicationContext();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the app context.
|
||||
*
|
||||
* @return the app context
|
||||
*/
|
||||
public static Context getAppContext() {
|
||||
return GameDay.context;
|
||||
}
|
||||
|
Reference in New Issue
Block a user