Comments (17)
Do you have action from main to splash in navigation graph?
from the-movie-db-kotlin.
yes its my navigation graph, and this is my code to navigation from main to login
can you help me?
from the-movie-db-kotlin.
Can you try replace
view?.let { navigate }
with
findNavController().navigate(MainFragmentDirections.mainToLogin())
from the-movie-db-kotlin.
it still happen and the error still the same
where is the wrong?
from the-movie-db-kotlin.
@jamalbaharun can you show me the code action main_to_login in nav graph?
from the-movie-db-kotlin.
from the-movie-db-kotlin.
can u give me and example from your project? so i can replicate in my project @dangquanuet :D
from the-movie-db-kotlin.
with above info, i can not see what wrong or tell you how to fix? Can you provide more info or source code?
from the-movie-db-kotlin.
do you want a full source code? i will sent u the full source code to your email. please give me your email @dangquanuet
from the-movie-db-kotlin.
my email is [email protected]
from the-movie-db-kotlin.
before that i experiment with you project and still encunter that error, i navigate from main to splash like this
and error like this
can you explain why?
@dangquanuet
from the-movie-db-kotlin.
I think setupNavHost is wrong,
because my project is structured with 3 tabs in main fragment, and i use KeepStateNavigator to keep my tab state.
But in your project, i think you do not need to configure like that, just follow steps from android guide at https://developer.android.com/guide/navigation/navigation-getting-started
from the-movie-db-kotlin.
navigation basic sample project
https://github.com/googlesamples/android-architecture-components/tree/master/NavigationBasicSample
from the-movie-db-kotlin.
thanks a lot for your advice, realy apperciate that @dangquanuet
from the-movie-db-kotlin.
do your have any recomend libarry for event bus? @dangquanuet
from the-movie-db-kotlin.
It's okay, if you need to use, just use it :)
from the-movie-db-kotlin.
Hello @dangquanuet
i was going through this app, i have couple of questions, or maybe they are issues, Didn't want to open new issues without asking first.
1->The MainActivity graph has splashfragment as its start destination. which then leads to pagingMovie fragment and popular movies fragment. There are other fragments there including movielistPager and moviePager. but they are not connected to anything.
2-> One can favorite the movie by opening the detail page and clicking floating action button. but there is no option to view the favorite movies.
3->Shouldn't there be a search option to search the movies.
4-> If i connect the navigation, to pager fragments, it only shows insta like cards and no tabs. Shouldn't the splash lead to the pager as main landing page with popular, top rated and favourite tabs.?
If so, then may i add or fix some or all of those features.
from the-movie-db-kotlin.
Related Issues (3)
- Logo offer HOT 1
- Can you screenshots in ReadMe page? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-movie-db-kotlin.