Create circular reveal for pre-Lollipop devices (Android)

前端 未结 7 2013
死守一世寂寞
死守一世寂寞 2020-12-15 03:35

Is it possible to get this new Animator for pre-Lollipop devices?

I am newbie and I am trying to get the java files from its official documentation, but I am really

7条回答
  •  清歌不尽
    2020-12-15 04:18

    Yes! you can use CircularReveal library : as @Alejandro said.

    But you have to modify the library dependency to :

    dependencies {
        compile 'com.github.ozodrukh:CircularReveal:1.1.1' //without "@aar" contrary to what the documentation says
    }
    

    If not, you'll get an Exception on some devices running on pre-lollipop version.

提交回复
热议问题