Android Modern Image Slider Using ViewPager2 And KenBurnsView | Travel App Concept | Android Studio
ฝัง
- เผยแพร่เมื่อ 29 ส.ค. 2024
- Android Modern Image Slider Using ViewPager2 And KenBurnsView | Travel App Concept | Android Studio
In this tutorial, we will make a modern image slider using ViewPager2 in which we will implement a ken burns view to animate the image. Here we will use static data for slider but you can use data from API as well.
UI Concept:
/ b9mupfdavew
More about ViewPager2:
developer.andr...
Libraries Used:
1. Material Design: material.io/de...
2. Picasso: github.com/squ...
3. Ken Burns View: github.com/fla...
4. Smooth Bottom Bar: github.com/ibr...
For more exciting android tutorials, please subscribe to my TH-cam channel and hit the bell icon for notifications.
Instagram:
/ chigs_kachhadiya
Awesome!! Thanks... Gotta appreciate the background music choice...
Thanks again for the efforts...
You are best brother among all developers
Bro, your video is amazing, thx so much for ur time!
Thank you sooo much i am looking for this for my android project thank youuuu
wow this is so amazing congrulations.
Thank You a lot .. it worked without any problem !
Wow, it looks amazing.
NICE JOB DUDE
Awesome
Great work.. it looks amazing..
You cannot slide from the ends, that is, from the following items. It only takes to slide the element from the center.
You are just amazing man. Can you plz upload a tutorial for internet connectivity like youtube app. Will be really grateful.
Sure...
You are the BEST
OMG! Thank you so much
Gr8
Sir great tutorial and can you do another tutorial using firebase to retreive images
Awesome App!!!
great tutorial, just wanna ask one thing. how do you implement an onclicklistener on one viewslider? i want my app to show details about a specific destination when clicking on it
thank you for this tutorial,.
I have a quotation: How to make the item in the right and in the left smaller?
Cool!
You can do a smoothBottomBar tutorial with fragment, please??
thank you bro
Thanks a lot!!
sir you did great work but one thing why it is not working in landscape mode?
image slides is not showing while in landscape mode
Since this type of layout gives best result in portrait mode, if you want this to work in landscape mode, then you have to give static (fix) height to the view pager and you may also have to put it in scroll view since landscape mode is covering less vertical area than portrait mode.
Nice
nice , but i want to know .. how can i set clicklistener On THis Image ?
i tried to follow the same steps, but when I tried to implement the SmoothButtonBar it doesn't work and I have written the same codes in my gradel
Getting values in only first card and getting null values in other cards...need help?? Done exact same as in tutorial...
Great tutorial, have you encounter the error "Pages must fill the whole ViewPager2 (use match_parent)" before while doing this video or at anytime? I have made it work this in a project but on another project it gives the error that I wrote above, can you help ?
Height of the item container layout must be match_parent for view pager 2. Please check it.
Hey Thank you for the tutorial, Everything works fine but the I cannot see multiple pages on the same page, they're only visible after scrolling. I mean that there is only one page at a time and no peek of overflow left and right pages. There are multiple objects in the list, i checked
can you give your source code of this project ? it will be really helpful for me as a beginner.
i cant import the picasso on my adapter class even when i put it implementation in gradle
The app encounters an error when you turn the phone. Because live data is not used
This in android 7 is problem .true?
When imageview enlarges, location and star also grows. please help
i made this works
Hi brother. Not work this code in kotlin. I want the display left image or right image display 30%
Can you use that to slide music album art on music player project?
can we use this in java? I'm not work in kotlin??
Yes
I can't see images
Baki sab to thik he lekin images sirf nahi show ho rahi help me
Great job bro,, please could you give me the source code?
Hi bro how are you? Can you make navigation bottom with viewpager2?
Uma dúvida. POSSO PERGUNTAR?
Sir how to add loading bar in viewpager2
Pls add sound for explaining
how to add more data to view pager dynamically, i am adding data from api.
Just set Adapter Class into ViewPager2.
articleAdapter = new ArticleAdapter(getApplicationContext(), articleCards);
viewPager2.setAdapter(articleAdapter);
i cant use the picasso import on my app why is that?
i have internet permission and put implementation in the gradle but cant import on the adapter class
hello! tried it! app runs but no images are loaded!!! any idea why?
Make sure to put internet permission in manifest file and image URL is valid.
@@chiragkachhadiya both done, must be something else , maybeneeds threading?
@@nickthegreek8122 have you found out what happened?
Please can u zoom the snippet of code
Thank u so much
Knowledgeable contain i am keeping watching and sharing this video in my college group
Welcome :)
any document? any code?
how did you get your Android Studio to look this way?
you can download plugins for dark themes
@@rakeshsinghrawat4408 yeah I figured it out. It was the Material UI plugin
@@makischristou7549 my pictures are not fetching have you tried this code?
i need source code bruh
Kotlin language pleaseee
Great job bro,, please could you give me the source code?