Adroid In App Review

1. Install Google Core Gradle implementation ‘com.google.android.play:core:1.9.1’ 2. Create these method and call it where you want to show. public void showRateApp() { ReviewManager reviewManager; reviewManager = ReviewManagerFactory.create(this); Task<ReviewInfo> request = reviewManager.requestReviewFlow(); request.addOnCompleteListener(task -> { if (task.isSuccessful()) { ReviewInfo reviewInfo = task.getResult(); Task<Void> flow = reviewManager.launchReviewFlow(this, reviewInfo); flow.addOnCompleteListener(task1 -> { }); } else { showRateAppFallbackDialog();…

Android custom navigation menu icon

Generally the default navigation drawer code is DrawerLayout drawer = findViewById(R.id.drawer_layout); ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close); drawer.addDrawerListener(toggle); toggle.syncState(); NavigationView navigationView…