-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from brianwernick/playlist_support
Playlist support
- Loading branch information
Showing
36 changed files
with
3,572 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
demo/src/main/java/com/devbrackets/android/exomediademo/App.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.devbrackets.android.exomediademo; | ||
|
||
import android.app.Application; | ||
|
||
import com.devbrackets.android.exomediademo.manager.PlaylistManager; | ||
|
||
public class App extends Application { | ||
|
||
private static App application; | ||
private static PlaylistManager playlistManager; | ||
|
||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
|
||
application = this; | ||
playlistManager = new PlaylistManager(); | ||
} | ||
|
||
@Override | ||
public void onTerminate() { | ||
super.onTerminate(); | ||
|
||
application = null; | ||
playlistManager = null; | ||
} | ||
|
||
public static PlaylistManager getPlaylistManager() { | ||
return playlistManager; | ||
} | ||
|
||
public static App getApplication() { | ||
return application; | ||
} | ||
} |
Oops, something went wrong.