Skip to content

ugurbuga/where-am-i

Repository files navigation

Where Am I?

With this library,

  • You can see which page you are on,
  • Shows which pages it went through,
  • It allows you to open the relevant screen by clicking it.
  • It distinguishes whether the screen is kotlin or java.
Activity-Fragment Kotlin-Java

Download

Gradle:

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

dependencies {
  implementation 'com.github.ugurbuga:where-am-i:1.0.0'
}

How do I use "WhereAmI"?

You need to add init method to application class.
init method has 2 property.
First parameter, you need set application class.
Second parameter, you can close/open logcat loging.

Simple use cases will look something like this:

class App : Application() {

    override fun onCreate() {
        super.onCreate()
        WhereAmI.init(application = this, logEnabled = true)
    }
}