mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-07-05 15:55:08 -04:00
Add some more skeleton to how Alerts should be processed
Create a way to statically get the app context
This commit is contained in:
@ -11,6 +11,7 @@ import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.uncc.gameday.R;
|
||||
import com.uncc.gameday.alerts.AlertFetcher;
|
||||
|
||||
public class Home extends MenuActivity {
|
||||
|
||||
@ -25,6 +26,6 @@ public class Home extends MenuActivity {
|
||||
private void getRecentAlerts() {
|
||||
// Responsible for discovering what the most recent alerts are and showing them.
|
||||
// Likely should be implemented by querying a local DB of alerts, grabbing recent 20.
|
||||
new Alerts().fetchAlerts();
|
||||
new AlertFetcher().fetchAlerts();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user