Code Monkey home page Code Monkey logo

trickynavigationsample's Issues

Save State Problem

Can you elaborate how to save state using Event.kt and EventObserver.kt ?
How to passing id to all views?

BottomBarView Icon Not active for detail view

Hi thank you very much for useful app.

When moving from Search -> Dynamic Title Fragment and then directly to Home tab. Backstack is maintained properly but when showing Dynamic Title Fragment from backstack "Search" tab not getting highlighted.

NPE: NavGraph

I've a bottom bar with 3 fragments, which provides this error.

Attaching video for clearance. https://streamable.com/5isy7s

The extension and base fragment are the same as of this project.

2021-04-18 12:10:57.059 24154-24154/com.iku.test E/ACRA: ACRA caught a NullPointerException for com.iku.test java.lang.NullPointerException: Attempt to invoke virtual method 'androidx.navigation.NavGraph androidx.navigation.NavDestination.getParent()' on a null object reference at androidx.navigation.ui.NavigationUI.onNavDestinationSelected(NavigationUI.java:78) at androidx.navigation.ui.NavigationUI$5.onNavigationItemSelected(NavigationUI.java:531) at com.google.android.material.bottomnavigation.BottomNavigationView$1.onMenuItemSelected(BottomNavigationView.java:241) at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:834) at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:158)

Save State Issue with BottomNavigation item click Listener

Save state does not work when the bottom navigation item is clicked.

How to replicate:
Steps:

  1. Go to search Fragment
  2. type something on edit text
  3. click the notification icon
  4. click the search icon

Save state only works when pressing the back button

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.