Wow ..hell lot of crazy concepts covered in super simple way, Thanks a lot, and the best part is u did all the complex stuff using nav graph console not from the Kotlin code, That was really useful..Thanks again.
As always your videos are very educational and useful, I learned a lot. Keep growing. I wish you success on your channel, of which I am one more subscriber. Greetings from Caracas, Venezuela
17 minute video - "Ah that's gonna be a quick one." 2 hours later - "Wait, what...?" *video paused for the 300th time* so much information 😂 but helped me very well
Looks good👍 Thanks for sharing! One note: how can we avoid of creating of 3 equal fragments to comply with DRY concept? Is it possible to store data for slider in the array and make a slide prototype to just fill it with appropriate data on demand?
Thank you very much !!! I needed help ... I made my app with ViewPager and wanted to migrate to ViewPager2 but it didn't work. I didn't know why. You saved me!
Hey really great video keep up the good work. If you want one suggestion what you can do is make things like these in one video and explain the things used like view pager 2 in detail in another video.
Hey i am facing problem about viewpager2 it's kotlin file didn't get id of its XML file View.viewPager.adapter = adapter Id is still present in XML file how to solve it
Great presentation. I have some doubts if you dont mind. What if i want to add information collection fragments as onboarding screens for examlple asking to select country or language? Should i go the same way. and secodn thing is when we are redirected to home fragment how to play with bottom nav bar to switch between fragments like home, favorite and more
If anyone's facing an issue setting up the view pager adapter value, do check that you have the 'kotlin-android-extensions' plugin added to your app.gradle file.
Thanks, amazing tutorial. can we add a bottom navigation view or drawer layout on the home screen which you have shown in the previous video? how can we handle navigation for those as well? if possible, please make a video that covers these scenarios as well. it will help for beginners like me. any hints will also be fine. thank you!
Your video is very good! Thanks for teaching us on this issue. I downloaded your project from guit and tried to open it in Android Studio Giraffe 2023 - Unfortunately, it didn't work and as I am a newbie in Android Studio, I wasn't able to fix it. Could you try to open it in Android Studio updated and fix it? Regards Alex from Brazil
HELP ME PLEASE: There is an error message: E/RecyclerView: No adapter attached; skipping layout How can i fix this error? I think this error regards to the code line from ViewPagerFragments: view.findViewById(R.id.viewPager).adapter = adapter
I was doing today something similar but im still struggling cos i was working on compose and the thing is that once my variable that handles the final destination for the navhost , it loads first the onboarding screens and later the home... Any idea what could be going wrong? Thanks for your content
Hi @Stevdza-San This is amazing helping me a lot. However, I have questions So instead of home fragment I did empty activity and last bit of video where it nav back to the onboarding screen. It still happen to mine so it navigate to the finish onboarding screen if I click back. Also I am able to scroll the screen without click on "Next" Not sure why, could you please help here. Thank you
if I want to remove one of those fragment how could I do that ?? .. I mean I did as you do but in my app inside each fragment there is a counter where user can press and it count.. I wanted if it reached certain number that fragment will be removed.. do you know how I may do that? .. Thank you I love your channel I have learned a lot
Hi, I have two ViewPager2 layouts, one is a vertical scrollable one and the other is a card stack like layout. I want to include both these ViewPager2 layouts inside a root Recycler View. How can this be done? Any suggestions? Thanks!
awesome video but the app crashes when screen is rotated. i too have been working for few days to handle screen orientation change , it would be great if u could shed some light on it
The tutorial works well under normal circumstances, but has a major flaw when one rotates the screen. The app crashes with null exception as its not able to get the id of the viewpager
hi there,I have a question,my app logic is splashFragment->loginFragment->mainFragment,but my mainFragment is contain a BottomNavigationView, how can i do this,please help me
hello, I have the same problem 7:47 in that minute how can I solve it, and not only that also when I put some images in other activities I get the same error problem in the application would help me a lot thanks.
Hi sir ! i want to call 3 screens from home, i'm using java and binding to get id of viewPager. What i need is how can i convert this instruction "viewPager = activity?.findViewById(R.id.viewPager) "? could you help me, please?
I have a problem, so my home screen does not fragment and its activity so the popup method is not going to work, I wonder there is any solution for that???
That ":" is really confusing me.. It can be anything like "extends", "object", or "variable". For object, for example : @Override OnCreate(Bundle: ?savedInstanceState){super(savedInstanceState); }
Aha... Good Video ultimately.. maybe RUclipsr spare users next time by not making so fast video For Beginners - youtube Video Speed - 0.25 for Normal user - youtube Video Speed - 0.5 for Intermediate user - youtube Video Speed - 0.75 for Advanced user - youtube Video Speed - Normal
//add this code to the method of the event who controls the end of tutorial i = Intent(this, MyActivity::class.java) activity?.startActivity(i) activity?.finish()
@@tarmagoyf95 I want to move from the third screen to an activity when I click the finish button. And replace that home fragment with an activity. So do you mean in the third screen fragment. Instead of writing findNavController(). navigate (R.id.action_viewPagerfragment_to_homeFragment) I should replace here with the code you just given to me?
Wow ..hell lot of crazy concepts covered in super simple way, Thanks a lot, and the best part is u did all the complex stuff using nav graph console not from the Kotlin code, That was really useful..Thanks again.
You are a life saver! Excellent tutorial. Thanks a lot.
Great tutorial! Small and simple but very functuional project. Exactly what i needed
As always your videos are very educational and useful, I learned a lot. Keep growing. I wish you success on your channel, of which I am one more subscriber. Greetings from Caracas, Venezuela
You've been helping me constantly with your very good video tutorials! Thank you very much!
theses videos are really helpful. I was working on a totally different project and was having with viewpager inside fragment
17 minute video - "Ah that's gonna be a quick one."
2 hours later - "Wait, what...?" *video paused for the 300th time*
so much information 😂 but helped me very well
Looks good👍 Thanks for sharing!
One note: how can we avoid of creating of 3 equal fragments to comply with DRY concept? Is it possible to store data for slider in the array and make a slide prototype to just fill it with appropriate data on demand?
Thank you very much !!! I needed help ... I made my app with ViewPager and wanted to migrate to ViewPager2 but it didn't work. I didn't know why. You saved me!
You should have also included the onBackPressedDispatcher method to handle back press events while in the onboarding pages
Hey really great video keep up the good work. If you want one suggestion what you can do is make things like these in one video and explain the things used like view pager 2 in detail in another video.
These videos makes me like android even more, thank you!
Hey i am facing problem about viewpager2 it's kotlin file didn't get id of its XML file
View.viewPager.adapter = adapter
Id is still present in XML file how to solve it
@@ravindraghate2814 hey did you found any solution yet?
thanks stevdza-san you are amazing
you always share the things we need, thank you my friend, you are awesome
Great presentation. I have some doubts if you dont mind. What if i want to add information collection fragments as onboarding screens for examlple asking to select country or language? Should i go the same way. and secodn thing is when we are redirected to home fragment how to play with bottom nav bar to switch between fragments like home, favorite and more
That was clear and complete. Thank you very very very much :)
man i love your tutorials
seeing this tutorial reminds me of how much I hate android development but have to do it bcs I have no other option.
Thanks for all your videos brother
Keep rocking
you are the best, for honest!!! thanks for your videos, bro!!!
the first youtube video ive had to slow down 🤣
thanks heaps for the video
We shall keep supporting you
Tanks for tutorial. I want ask you something.For the responsive desing... background picture which one the hdpi to use should to be ?
Very cool and easy to learn!! thank you
If anyone's facing an issue setting up the view pager adapter value, do check that you have the 'kotlin-android-extensions' plugin added to your app.gradle file.
thanks buddy, I stuck in here
You are a life saver ❤️
Thanks, amazing tutorial.
can we add a bottom navigation view or drawer layout on the home screen which you have shown in the previous video?
how can we handle navigation for those as well?
if possible, please make a video that covers these scenarios as well. it will help for beginners like me.
any hints will also be fine.
thank you!
super explanation sir..
Your video is very good! Thanks for teaching us on this issue.
I downloaded your project from guit and tried to open it in Android Studio Giraffe 2023 - Unfortunately, it didn't work and as I am a newbie in Android Studio, I wasn't able to fix it.
Could you try to open it in Android Studio updated and fix it?
Regards
Alex from Brazil
Greatest tutorial! Thanks a lot, dude!
You're welcome!
Can you please make video on scrollable bottom navigation drawer
..
Like which is present in photo editor app
Awesome. Could you please let me know, how to remove and add fragments.
You make my day
HELP ME PLEASE: There is an error message:
E/RecyclerView: No adapter attached; skipping layout
How can i fix this error?
I think this error regards to the code line from ViewPagerFragments:
view.findViewById(R.id.viewPager).adapter = adapter
For new version add : if (isAdded) before Handler in SplashFragment
At 11 minutes and 40 seconds, what plug-in do you use to generate SharedPreferences?
Thanks
Sensacional. Parabéns pelo excelente conteúdo. ♡
One word! Excellent!
Thanks 🙏💜
Thank you Bro
I was doing today something similar but im still struggling cos i was working on compose and the thing is that once my variable that handles the final destination for the navhost , it loads first the onboarding screens and later the home... Any idea what could be going wrong? Thanks for your content
it worked, thanks!
Great tutorial! Btw, may I know your screen recording software, please?
Thanks, amazing tutorial. Could you tell how to make such vector drawables?
wish i had it in java
Me too
thanks
you are awesome man
Thank you so much
with splash screen.
thanks so much
Loved it 🙌🏻😍
Great Video, looking forward to more content
Hi @Stevdza-San
This is amazing helping me a lot.
However, I have questions
So instead of home fragment I did empty activity and last bit of video where it nav back to the onboarding screen. It still happen to mine so it navigate to the finish onboarding screen if I click back.
Also I am able to scroll the screen without click on "Next"
Not sure why, could you please help here.
Thank you
same problem
good,you help me a lot!
What if I don't have a splash screen at all?
Is there a way to just change the home destination after first run?
if I want to remove one of those fragment how could I do that ?? .. I mean I did as you do but in my app inside each fragment there is a counter where user can press and it count.. I wanted if it reached certain number that fragment will be removed.. do you know how I may do that? .. Thank you I love your channel I have learned a lot
Can you explain the email verification system and communication screen in the next video?
awesome nice , very helpful
Hi,
I have two ViewPager2 layouts, one is a vertical scrollable one and the other is a card stack like layout. I want to include both these ViewPager2 layouts inside a root Recycler View. How can this be done? Any suggestions? Thanks!
Nice tutorial.
THANK U SO MUCH!
thanks for tutorial
awesome video but the app crashes when screen is rotated. i too have been working for few days to handle screen orientation change , it would be great if u could shed some light on it
i have a problem in the ViewPagerFragment, at the view.viewPager.adapter = adapter, the viewPager always error
greatful
thx man, very cool
The tutorial works well under normal circumstances, but has a major flaw when one rotates the screen. The app crashes with null exception as its not able to get the id of the viewpager
maybe viewModel and Live data can solve this problem
Nice video!
Can we put edit text on Onboarding screens, I mean app can take user input and press next and again input from user then next and so on..
please make video on handler deprecated
How to get more illustration as you have on the onboarding screen.
6:48 xml name-> viewPager is showing unresolved reference. Please help!!!!
Kotlinx.synthetic is deprecated, use View Binding instead. I already made a video about it.
Спасибо большое)
hi there,I have a question,my app logic is splashFragment->loginFragment->mainFragment,but my mainFragment is contain a BottomNavigationView, how can i do this,please help me
Thanks for the video.
Im gettin next error : "Unresolved reference: viewPager" help please!
I have the same problem :(
hello, I have the same problem 7:47 in that minute how can I solve it, and not only that also when I put some images in other activities I get the same error problem in the application would help me a lot thanks.
ADAMSIN SEN LAN ADAAAAAMMMMM
Hi sir ! i want to call 3 screens from home, i'm using java and binding to get id of viewPager.
What i need is how can i convert this instruction
"viewPager = activity?.findViewById(R.id.viewPager) "?
could you help me, please?
I have a problem, so my home screen does not fragment and its activity so the popup method is not going to work, I wonder there is any solution for that???
this is java/kotlin?
Bro when type arraylistof in my ide it get red and Says unable to resolve
how about working with kotlin viewBinding
`binding.root.rootView.findViewById(R.id.viewPager).currentItem = 1`
works for me
i can't seem to reference the viewPager id inside ViewPagerFragment, any idea how to resolve this?
Had the same problem - just add to build.gradle:
apply plugin: 'kotlin-android-extensions'
@@Firentis1 THANK YOU!!!
You should use View Binding. I had a same problem and i solved it with this. Here you go: developer.android.com/topic/libraries/view-binding
With dots?
The app encounters an error when you turn the phone. Because live data is not used :(
How transfer from activity to fragment in another activity?
can anyone tell me how to make it back to homeFragment without having splashFragment first?
Viewpager id it does not acces in viewpagerfragment.kt how to solve it
Iam gettin error viewpager in viewpagerfragment and next in first screen and next in second screen and finish in third screen plz help me
Yes, same here. Same error I am getting. Please help
@@markmagallanes6185 now android syntax main is disparated in java we can't use it . Use view binding instead of it ✅✅
@@venkateshkoppisetti9935 ok thank you for replying. I’m a little confused, is there another video I could follow that you know of on here?
i cannot declalare view.viewPager...its said unresolved refference....anyone know the solution?
The app crashes when screen is rotated, any help?
sensacional
getting error Type mismatch: inferred type is ViewPagerAdapter but PagerAdapter? was expected
same error
u did not initialize the life cycle before passing to adapter
That ":" is really confusing me..
It can be anything like "extends", "object", or "variable".
For object, for example :
@Override
OnCreate(Bundle: ?savedInstanceState){super(savedInstanceState);
}
no java :(
9:23 as Kotlinx.synthetic is deprecated, how to navigate from screenOne to screenTwo with textView onClickListener.
I already made a video about migrating from Kotlinx.synthetic.
@@StevdzaSan I am sorry to disturb you again but i am not able to navigate from page 1 to page 2
this will not work if we want multiple navigations
Aha... Good Video ultimately.. maybe RUclipsr spare users next time by not making so fast video
For Beginners - youtube Video Speed - 0.25
for Normal user - youtube Video Speed - 0.5
for Intermediate user - youtube Video Speed - 0.75
for Advanced user - youtube Video Speed - Normal
how to download that drawings
How to use BottomNavigation with ViewPager?
My huge problem now is, how can we move back to an activity from the last fragment
//add this code to the method of the event who controls the end of tutorial
i = Intent(this, MyActivity::class.java)
activity?.startActivity(i)
activity?.finish()
@@tarmagoyf95 I want to move from the third screen to an activity when I click the finish button. And replace that home fragment with an activity.
So do you mean in the third screen fragment. Instead of writing findNavController(). navigate (R.id.action_viewPagerfragment_to_homeFragment) I should replace here with the code you just given to me?
@@stunnaman8803 Hi, I have the same problem, want to start an activity or turn back to MainActivity but cannot... Did you solve the problem ?