Skip to content

Instantly share code, notes, and snippets.

@josefernand
josefernand / MultiStartNavigationUI.java
Created August 19, 2018 13:33
Android Navigation multiple start destinations. Java version based on Sam Clarke's workaround https://www.samclarke.com/android-navigation-component-multiple-start-destinations/
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.graphics.drawable.DrawerArrowDrawable;