use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.
the class RecentsFragment method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
try {
imgLoader = new ImageLoader(context);
mCallback = (recentsCallbackListener) context;
} catch (ClassCastException e) {
throw new ClassCastException(context.toString() + " must implement OnHeadlineSelectedListener");
}
}
use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.
the class FavouritesFragment method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
try {
mCallback = (favouriteFragmentCallback) context;
imgLoader = new ImageLoader(context);
} catch (ClassCastException e) {
throw new ClassCastException(context.toString() + " must implement OnHeadlineSelectedListener");
}
}
use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.
the class FolderContentFragment method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
imgLoader = new ImageLoader(context);
try {
mCallback = (folderCallbackListener) context;
} catch (ClassCastException e) {
throw new ClassCastException(context.toString() + " must implement OnHeadlineSelectedListener");
}
}
use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.
the class ViewAlbumFragment method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
ctx = context;
activity = (HomeActivity) context;
try {
imgLoader = new ImageLoader(context);
mCallback = (albumCallbackListener) context;
} catch (ClassCastException e) {
throw new ClassCastException(context.toString() + " must implement OnHeadlineSelectedListener");
}
}
use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.
the class AllPlaylistsFragment method onAttach.
@Override
public void onAttach(Context context) {
super.onAttach(context);
try {
imgLoader = new ImageLoader(context);
imgLoader.type = "all_playlist";
homeActivity = (HomeActivity) context;
mCallback = (allPlaylistCallbackListener) context;
} catch (ClassCastException e) {
throw new ClassCastException(context.toString() + " must implement OnHeadlineSelectedListener");
}
}
Aggregations