In this video, we show you the easy way to get Onboarding tutorial in your
Project THE EASY WAY
Project THE EASY WAY
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.msayan:tutorial-view:v1.0.10'
}
Step 3 extend your activity with Tutorialactivity
this is done in Kotlin by
class youractivityname : Tutorialactivity
step4 copy the code into your oncreate method
addFragment(new Step.Builder().setTitle("This is header") .setContent("This is content") .setBackgroundColor(Color.parseColor("#FF0957")) // int background color .setDrawable(R.drawable.ss_1) // int top drawable .setSummary("This is summary") .build());

Comments
Post a Comment