I want to load large bitmaps efficiently, so i decided to use picasso library.
I have a SurfaceView that must need bitmap to draw something(on surface)
here is my frame-code.
Canvas canvas = surfaceHolder.lockCanvas();
if (canvas != null) canvas.drawColor(Color.GRAY);
// here i want to add some bitmaps
surfaceHolder.unlockCanvasAndPost(canvas);
is it possible? get bitmap using picasso library. i already check usage http://square.github.io/picasso/
but there are not way to get bitmap source using picasso library.
Picasso.with(context).load(R.drawable.landing_screen).into(imageView1);
Picasso.with(context).load("file:///android_asset/DvpvklR.png").into(imageView2);
Picasso.with(context).load(new File(...)).into(imageView3);
Any help would be greatly appreciated, thank you!