Create your Android Library and Share

DRY and create your library

image.png

Previous knowledge

  • Git
  • GitHub
  • Android Studio
  • Graddle
  • Java or Kotlin

Why

Not repeat same functions in yours projects

Solution

Creating your own Android library

After Creating New Project in Javar or Kotlin min api >21

Process

Create a new Project

Then In the same Project

Create new module type Android Library image.png

image.png

image.png

image.png

Now take JitPack in the picture and finish the uploading process. Open JitPack and enter the URL of the GitHub repository in the box.

image.png

Then check on Get it! and Now you have differents methods of use it

Graddle is for Android

References

oneclickitsolution.com/blog/android-custom-..

jitpack.io