Skip to content

gityan/PhotoDraweeView

This branch is 33 commits behind ongakuer/PhotoDraweeView:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 26, 2016
23230a2 · Jan 26, 2016

History

7 Commits
Sep 18, 2015
Apr 30, 2015
Sep 18, 2015
Sep 18, 2015
Apr 30, 2015
Sep 18, 2015
Jan 26, 2016
Sep 18, 2015
Apr 30, 2015
Apr 30, 2015
Apr 30, 2015
Sep 18, 2015
Apr 30, 2015

Repository files navigation

PhotoDraweeView

PhotoView For Fresco

Usage

PipelineDraweeControllerBuilder controller = Fresco.newDraweeControllerBuilder();
controller.setUri(URI);
controller.setOldController(mPhotoDraweeView.getController());
controller.setControllerListener(new BaseControllerListener<ImageInfo>() {
    @Override
    public void onFinalImageSet(String id, ImageInfo imageInfo, Animatable animatable) {
        super.onFinalImageSet(id, imageInfo, animatable);
        if (imageInfo == null || mPhotoDraweeView == null) {
            return;
        }
        mPhotoDraweeView.update(imageInfo.getWidth(), imageInfo.getHeight());
    }
});
mPhotoDraweeView.setController(controller.build());

PhotoDraweeView

Copyright 2015-2016 Relex

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%