jp.wasabeef.fresco.processors.BlurPostprocessor Java Examples

The following examples show how to use jp.wasabeef.fresco.processors.BlurPostprocessor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MineFragment.java    From fingerpoetry-android with Apache License 2.0 5 votes vote down vote up
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
                         Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.fragment_mine, container, false);
    ButterKnife.bind(this, view);
    initView();
    postprocessor = new BlurPostprocessor(getContext(), 25);
    return view;
}
 
Example #2
Source File: RecyclerItemViewHolder.java    From FrescoUtils with Apache License 2.0 5 votes vote down vote up
public void bind(RecyclerDataModel recyclerDataModel, int position) {
    if (position == 2) {
        FrescoHelper.loadFrescoImage(frescoImageView, recyclerDataModel.getUrl(), R.mipmap.ic_launcher, 2, false, recyclerDataModel.getSize(), new BlurPostprocessor(context, 10));
    } else {
        FrescoHelper.loadFrescoImage(frescoImageView, recyclerDataModel.getUrl(), R.mipmap.ic_launcher, 2, false, recyclerDataModel.getSize());
    }
}