Giter Site home page Giter Site logo

sntimagebrowser's Introduction

SNTImageBrowser

图片浏览器

Usage

dependencies {
    implementation 'com.snt.lib:snt_image_browser:1.0.6'
}

单图

ImageBrowser.with(MainActivity.this)
        .transitionView(photoDraweeView)
        .url("http://jypxpt.83soft.cn/pic//3587ef66-56b6-410e-98f0-b1ab208dfe43.jpg")
        .show();

多图

String[] urls = new String[]{"http://jypxpt.83soft.cn/pic/3587ef66-56b6-410e-98f0-b1ab208dfe43.jpg"
        ,"http://jypxpt.83soft.cn//pic/6d99bab1-1b92-408b-926e-707d26b5a603.jpg"
        ,"http://jypxpt.83soft.cn//pic/0f36febe-2bb9-4c50-b2bc-6dbb6ec3b6c8.jpg"
        ,"http://jypxpt.83soft.cn//pic/3359683d-8523-4a54-ba75-e549db328bf1.jpg"
        ,"http://jypxpt.83soft.cn//pic/69a4cf17-e3d2-40cc-836f-c84c54692a68.jpg"
        ,"http://jypxpt.83soft.cn//pic/daa3e439-fce8-4897-b587-58143b0984f6.jpg"};
ImageBrowser.with(MainActivity.this)
        .transitionView(showBrowserBtn)
        .urls(urls)
        .position(3)
        .show();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.