Posts

Showing posts with the label Dependencies

Let’s Create Our Own Android Library

Image
If you have got ever thought of writing your own custom library for others to use or extend. I will even be showing you ways to distribute your library through JitPack. We will be making a straightforward statistics library, that can be used to compute basic, Arithmetic Mean, Median and Mode. To achieve this, we will follow the steps below: Create a new Android project that showcases the library Create a new library module inside the app module Write the code for your custom library Add the library as a dependency to the project Publish your library to Github Setup to share your library with the other using Jitpack 1. Create a new android project Create a new Android project on Android studio. This project are going to be want to check your library.     2. Create a new library module Next is to add new android library module, using to create new library module from android studio in current project. Right-click the project new -> module...