Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I have to hide bottom navigation view on up scroll and show on down scroll .how to implement this? my layout is like this <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent">...

  • 0

I refer this. Schedules Activity is appeared when I click Schedules, but first item color (Favorites) is always selected. It doesn’t change Schedules item color from Favorites item color. And also, third item (Music). I use android:state_checked NOT android:state_enabled.” If working with startActivity, ...

  • 0

Following is my code for bottom navigation view item selected bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() { @Override public boolean onNavigationItemSelected(@NonNull MenuItem item) { Fragment fragment = null; switch (item.getItemId()) { case ...

  • 0

I have added BottomNavigationView in my application like. main.xml <android.support.design.widget.BottomNavigationView android:id="@+id/bottom_navigation" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" ...

  • 0

I’m trying to use the new navigation component. I use a BottomNavigationView with the navController : NavigationUI.setupWithNavController(bottomNavigation, navController) But when I’m switching fragments, they are each time destroy/create even if they were previously used. Is there a way to keep alive our ...

close