Search in sources :

Example 11 with ImageLoader

use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.

the class FolderFragment method onAttach.

@Override
public void onAttach(Context context) {
    super.onAttach(context);
    try {
        imgLoader = new ImageLoader(context);
        imgLoader.type = "folder";
        mCallback = (onFolderClickedListener) context;
    } catch (ClassCastException e) {
        throw new ClassCastException(context.toString() + " must implement OnHeadlineSelectedListener");
    }
}
Also used : ImageLoader(com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)

Example 12 with ImageLoader

use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.

the class ViewArtistFragment method onAttach.

@Override
public void onAttach(Context context) {
    super.onAttach(context);
    ctx = context;
    activity = (HomeActivity) context;
    try {
        imgLoader = new ImageLoader(context);
        mCallback = (artistCallbackListener) context;
    } catch (ClassCastException e) {
        throw new ClassCastException(context.toString() + " must implement OnHeadlineSelectedListener");
    }
}
Also used : ImageLoader(com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader)

Example 13 with ImageLoader

use of com.sdsmdg.harjot.MusicDNA.imageloader.ImageLoader in project MusicDNA by harjot-oberai.

the class ViewPlaylistFragment method onAttach.

@Override
public void onAttach(Context context) {
    super.onAttach(context);
    imgLoader = new ImageLoader(context);
    try {
        mCallback = (playlistCallbackListener) 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