EasyAnalytics

Additional

Language
Kotlin
Version
0.0.1 (Jun 28, 2021)
Created
Jun 28, 2021
Updated
Jul 1, 2021
Owner
Sachin Rajput (myJarvis)
Contributor
Sachin Rajput (myJarvis)
1
Activity
Badge
Generate
Download
Source code

Promotion

EasyAnalytics!

an easy to use android library to let developers know how much internet-data their app is consuming. We can identify this as we want based on :

  • any Screen or Module.
  • any event.

EasyAnalytics library gives us the power to easily add logging events anywhere we want to check here how much Internet is consumed.


To demo our EasyAnalytics lib we are using our old Code repo News Sample App using HILT

Gradle

Add this into your dependencies block.

implementation 'com.github.myJarvis:EasyAnalytics:0.0.1'

Wiki

General usage

Step1- register EasyAnanlytics inside your Application class.

@HiltAndroidApp
class NewsApp : Application() {

    override fun onCreate() {
        super.onCreate()
        instance = this
        //initialize EasyAnalytics
        EasyAnalytics.register(this)
    }
  }

Step2- To get information about Internet data consumed in any screen inside your application.

Call EasyAnanlytics method like this -

EasyAnalytics.getAppUsageInfo(context,"getNews_API_call_success")

Params

  • first parameter is just a context
  • and second parameter is The screen name or any event name which happened when we want to track the internet consumption.

Upcoming features

  • a summarize report and more.

Demo-

Bingo, thats all EasyAnalytics is ready to help you 😁, If you like this,

Show some ❤️ by starring this repo!

About the author

Sachin Rajput

Android Developer with 5 years of experiecne in building useful apps which serves a purpose to help people. In ❤️ with
Open source contributor.

Lets be friends over here :)