Created
June 12, 2012 15:49
-
-
Save alexjlockwood/2918323 to your computer and use it in GitHub Desktop.
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
public class SampleActivity extends Activity { | |
private AlbumStorageDirFactory mAlbumFactory; | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
/* Implementation not shown */ | |
mAlbumFactory = AlbumStorageDirFactory.newInstance(); | |
File sampleAlbumDir = getAlbumDir("sample_album"); | |
} | |
private File getAlbumDir(String albumName) { | |
return mAlbumStorageDirFactory.getAlbumStorageDir(albumName); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment