After Download Complete just add this Library in your project
Import: code
smartdevelop.ir.eram.showcaseviewlib.listener.GuideListener
smartdevelop.ir.eram.showcaseviewlib.config.PointerType
smartdevelop.ir.eram.showcaseviewlib.config.Gravity
smartdevelop.ir.eram.showcaseviewlib.config.DismissType
smartdevelop.ir.eram.showcaseviewlib.GuideView
Java: Code
new GuideView.Builder(MainActivity.this) .setTitle("it's working ") .setContentText("subscribe to my channel") .setDismissType(DismissType.anywhere) .setTargetView(button1) .setContentTextSize(12) .setTitleTextSize(14) .build() .show();
Dismiss listener:
.setGuideListener(new GuideListener() {
@Override
public void onDismiss(View view) {
//next showcaseview here
}
}em






0 Comments