Home > database >  How can i create dots loading view like as google loader?
How can i create dots loading view like as google loader?

Time:05-29

I want to create custom dots loader like as google dots loader(below image). I founded following library but it written in Kotlin language, I want exactly this loader view in java language. Someone can help me? Thanks. dots loading view

CodePudding user response:

Use Glide library to load any gif image to image view

https://github.com/bumptech/glide

CodePudding user response:

As mentioned in the comment to the question, you can simply include the library in your project as follows:

In app build.gradle:

implementation 'com.github.ibrahimsn98:CirclesLoadingView:1.0'

In root build.gradle (or settings.gradle if you define repositories there):

repositories {
    maven { url 'https://jitpack.io' }
}

And finally, in the desired XML layout:

<me.ibrahimsn.lib.CirclesLoadingView
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

I tried this in a pure Java project and it works without any additions.

  • Related