Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Navigation Component not working #88

Open
baonq-2356 opened this issue Jan 20, 2022 · 2 comments
Open

Navigation Component not working #88

baonq-2356 opened this issue Jan 20, 2022 · 2 comments

Comments

@baonq-2356
Copy link

I am using this library with navigation component, all the actions navigate and pop fragments are controlled by navigation component.
In the base fragment class, i add this code into onResume method:

  var slidrInterface: SlidrInterface? = null
  
      override fun onResume() {
          super.onResume()
          if (slidrInterface == null) slidrInterface = Slidr.replace(
              requireView().findViewById(R.id.content_container),
              SlidrConfig.Builder().position(SlidrPosition.LEFT).build()
          )
      }

but when i run app, nothing happends
also, i followed the instructions here: https://github.com/r0adkll/Slidr/pull/51/files

@denterrr
Copy link

you solved it?

@baonq-2356
Copy link
Author

@denterrr still not yet bro :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants