use of com.facebook.fresco.samples.showcase.imagepipeline.widget.ResizableFrameLayout in project fresco by facebook.
the class MediaVariationsFragment method populateMainImage.
private void populateMainImage(View rootView) {
mMainImageDraweeView = (SimpleDraweeView) rootView.findViewById(R.id.img_main);
loadMainImage();
mMainImageDraweeView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
loadMainImage();
}
});
ResizableFrameLayout mainImageFrameLayout = (ResizableFrameLayout) rootView.findViewById(R.id.frame_main);
mainImageFrameLayout.init(rootView.findViewById(R.id.btn_resize));
}
Aggregations