Search in sources :

Example 6 with ImageLoader

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");
    }
}
Also used : ImageLoader(com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)

Example 7 with ImageLoader

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");
    }
}
Also used : ImageLoader(com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)

Example 8 with ImageLoader

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");
    }
}
Also used : ImageLoader(com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)

Example 9 with ImageLoader

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");
    }
}
Also used : ImageLoader(com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)

Example 10 with ImageLoader

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");
    }
}
Also used : ImageLoader(com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)

Aggregations

ImageLoader (com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)13 Handler (android.os.Handler)2 RecyclerView (android.support.v7.widget.RecyclerView)2 View (android.view.View)2 Button (android.widget.Button)2 ImageView (android.widget.ImageView)2 TextView (android.widget.TextView)2 ShowcaseView (com.github.amlcurran.showcaseview.ShowcaseView)2 ViewTarget (com.github.amlcurran.showcaseview.targets.ViewTarget)2 UnifiedTrack (com.sdsmdg.harjot.MusicDNA.models.UnifiedTrack)2 VisualizerView (com.sdsmdg.harjot.MusicDNA.visualizers.VisualizerView)2 Dialog (android.app.Dialog)1 ComponentName (android.content.ComponentName)1 IntentFilter (android.content.IntentFilter)1 ServiceConnection (android.content.ServiceConnection)1 PackageInfo (android.content.pm.PackageInfo)1 PackageManager (android.content.pm.PackageManager)1 Canvas (android.graphics.Canvas)1 PorterDuffColorFilter (android.graphics.PorterDuffColorFilter)1 ColorDrawable (android.graphics.drawable.ColorDrawable)1