SPINNER - Android Fundamentals

  Рет қаралды 55,236

Philipp Lackner

Philipp Lackner

Күн бұрын

Пікірлер: 87
@josesablon7159
@josesablon7159 4 жыл бұрын
Even when you think you have few views and few likes, never stop, you do a great job, thanks for all your help
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thank you so much, I mean really, these comments keep me motivated, you are awesome! I'm very glad my content helps you
@DreamDiner
@DreamDiner 4 жыл бұрын
Is it possible to customize a spinner, i.e change the color, font or size?
@tugononkimjethro639
@tugononkimjethro639 4 жыл бұрын
@@PhilippLackner hello i want to ask something did you declare spMonths somewhere cuz it show in mine the one on 4:20
@yutaitadori7318
@yutaitadori7318 3 жыл бұрын
@@tugononkimjethro639 XML spinner id
@SuegroLM
@SuegroLM 3 жыл бұрын
@@DreamDiner It is, each spinner's default XML item is a TextView in this example, you can pass in your custom TextView instead of the default one, Id est / i.e.: ArrayAdapter.createFromResource( Context = this, textArrayResId = arrayId, textViewResId = R.layout.spinner_item ).also { it.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item) }
@ramasubramanian3154
@ramasubramanian3154 3 жыл бұрын
the last time i saw a tutorial on spinner.. i absolutely hated spinner and instead made a custom bottomsheet dialog with list view of items just so i can avoid using spinner.. but man i never knew it was this easy to implement.. it really blew my mind.!!! Thank you so much... and never worry about your channel's growth.. with these quality contents available for free... the channel will be on top in no time.. really appreciate your coding style and hope to see more tutorials from your channel. I've been binge watching every one of your android series videos and every video just blows my mind!!!
@ValdaXD
@ValdaXD 4 жыл бұрын
Finally a tutorial with nice mic and good english 👁👄👁
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thanks 😅
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thanks 😅
@studyonline3236
@studyonline3236 Жыл бұрын
One of the best videos so far in the playlist.
@vikasbhadoriya1466
@vikasbhadoriya1466 4 жыл бұрын
Sir, how can I show toast when only I SELECT any option from the spinner? Also I'm loving your tutorials!!!❣
@dead-mb1zc
@dead-mb1zc 3 жыл бұрын
Thank you for all the videos!!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad you like them!
@keithkirui7008
@keithkirui7008 Жыл бұрын
My Teacher🔥
@ManishTapsi
@ManishTapsi 4 жыл бұрын
thanks sir I'm learning a lot from your videos.
@pp-1954
@pp-1954 2 жыл бұрын
Thanks for the great video, phil, simple and straightforward
@benimustikoaji1393
@benimustikoaji1393 2 жыл бұрын
God job. Very clear explanation. How to set default value of spinner programmatically? For example, i want August to be the first spinner value not January
@mertcankartal4453
@mertcankartal4453 2 жыл бұрын
so clean explanation thank you sir
@Arun_Kumar_x86
@Arun_Kumar_x86 2 жыл бұрын
Awesome work dude it was clear as crystal
@anbuselvanrocky
@anbuselvanrocky 4 жыл бұрын
It would be great, if you cover a entire series from start to finish using MVVM, Live Data, Data Binding and all other relative stuffs that are needed to enhance his/her skills. You will be their gods.! :D :P
@PhilippLackner
@PhilippLackner 4 жыл бұрын
I have 3 of such playlists, just not with databinding
@anbuselvanrocky
@anbuselvanrocky 4 жыл бұрын
@@PhilippLackner yea i saw, brother. But people are now-adays familiar with these concepts. It would be great. if you implement the entire series in the kotlin, mvvm, live data, Room, offline caching, recyclerview, dependency injection. (People love it.) I can even contribute regarding the web apis. i can create that for you :)
@Ilamarea
@Ilamarea 2 жыл бұрын
Would to see an example of a custom spinner. I'd like to make a list of countries with currency codes and flags.
@angelmauriciorivas6160
@angelmauriciorivas6160 2 жыл бұрын
thank you so much Philipp
@GAGANDEEP901
@GAGANDEEP901 3 жыл бұрын
best tutorial ever, omg it solved my doubt pheeewwww
@emmatan8191
@emmatan8191 3 жыл бұрын
Thank you for these awesome videos!
@AnaGuerra-is6nr
@AnaGuerra-is6nr Жыл бұрын
What if I want to keep the default spinner text always the same, for example months or "placed"?
@nhatbui5984
@nhatbui5984 Жыл бұрын
Can I use recycleView instead of spinner ? With recycleivew, I can easily custom item, background ,....
@kamilmagdziarz374
@kamilmagdziarz374 3 жыл бұрын
awesome video, very clear, good work
@gopalkrishanbhatnagar6598
@gopalkrishanbhatnagar6598 2 жыл бұрын
There is an error when I implement ArrayAdapter in the latest version of Android Studio. It will be better if you update your code for the benefit of those who are using the latest version
@timoursamatof9675
@timoursamatof9675 3 жыл бұрын
when i create ArrayAdapter, that's show a mistake and request create a function. Who knows what problem is?
@maxhooker4186
@maxhooker4186 3 жыл бұрын
What if I want the first array item to be "Choose a value below"...and the form do not send if this option is selected...
@pravinmane1
@pravinmane1 3 жыл бұрын
It was really Helpful :) thank you
@nitesharu1269
@nitesharu1269 3 жыл бұрын
Can I select multiple item in spinner
@Dinocasanova
@Dinocasanova 4 жыл бұрын
Thank you 🙌!!!
@OmerFarukUcer
@OmerFarukUcer 2 жыл бұрын
It's nice tutorial but it doesn't work in Fragment with that way.How can I do it in Fragment class?
@gutic4824
@gutic4824 4 жыл бұрын
Great video!! Thanks
@PhilippLackner
@PhilippLackner 4 жыл бұрын
You're welcome!
@saideekshith3295
@saideekshith3295 2 жыл бұрын
Can you tell lil about adapters?
@timi34cr
@timi34cr 2 жыл бұрын
Awesome, thanks!
@PhilippLackner
@PhilippLackner 2 жыл бұрын
You're welcome!
@코딩하는호랑이
@코딩하는호랑이 3 жыл бұрын
Thank you so much. I subscribed you 3:55 이해가 잘 안 가는 부분 9:10 실행 중에서만 드롭다운 내용을 알 수 있을 때 설정하는 방법
@Luffy_2804
@Luffy_2804 Жыл бұрын
do you understand eng. that well ??
@nix-jv5ee
@nix-jv5ee 3 жыл бұрын
Nice, thanks
@yutaitadori7318
@yutaitadori7318 3 жыл бұрын
U are awesome 💎🔥
@mob322
@mob322 3 жыл бұрын
Thx so much
@vinaykumarpatel649
@vinaykumarpatel649 4 жыл бұрын
Thank you sir...
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Most welcome
@olayiwolaosho4989
@olayiwolaosho4989 3 жыл бұрын
Great video 😊!!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thank you!! 😊
@georgenady7375
@georgenady7375 4 жыл бұрын
So how to put the item's text of the spinner when we select it in a text view ??
@andyal868
@andyal868 4 жыл бұрын
textView.text = adapterView?.getItemAtPosition(position).toString() This worked for me in "override fun onItemSelected" function
@arunmohan317
@arunmohan317 4 жыл бұрын
@@andyal868 if we have more than one item in data class, how to get data seperately..getItemAtPosition is not working properly..
@configureunex545
@configureunex545 4 жыл бұрын
on Gridview video
@alferdous6653
@alferdous6653 4 жыл бұрын
I am facing some problem when I am practicing this tutorial. Can you please give me the code?
@fliamachado
@fliamachado 3 жыл бұрын
Hi, anyone knows how to bypass initial onItemSelectedListener, sometimes after UI is created, fetch data from preferences and set Spinner to another item...
@farhanammar5715
@farhanammar5715 3 жыл бұрын
Great video...but i face a problem. I followed exactly how to code spinners and the context inside it. . But there is no arrow pointing down on my screen
@SuegroLM
@SuegroLM 3 жыл бұрын
It should be there, probably you can't see it, anyway, you can also "change" the arrow's color or its background color with the following modifiers: backgroundTint, backgroundTintMode.
@DragonWings2024
@DragonWings2024 3 жыл бұрын
How were you able to access the spinner without initializing it? It's not letting me do that.
@vivekharwani
@vivekharwani 3 жыл бұрын
Using kotlin we can do that... like we can easily access a view by its id.setOnClickListener{}. If you are still not able to do that you have to add an extension in gradle app file 'kotlin-android-extensions'. If you didn't get what I'm saying just search for this on youtube or stackoverflow and you'll easily get any video to do that
@thongduong2944
@thongduong2944 3 жыл бұрын
nice!
@olayiwolaosho4989
@olayiwolaosho4989 3 жыл бұрын
Is the reason we have to use an anonymous class because there are two functions we are overriding and we can't use lambda to implement more than one function ?
@PhilippLackner
@PhilippLackner 3 жыл бұрын
anonymous classes are used to create a temporary different version of a class. It's often helpful to create instances of interfaces because for those we need to implement all declared functions
@olayiwolaosho4989
@olayiwolaosho4989 3 жыл бұрын
@@PhilippLackner This is Great. Thank you soon much
@DreamDiner
@DreamDiner 4 жыл бұрын
Another great video! Is it possible to modify and change a spinner's font, size or color?
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Yes, with custom styles
@LarsRyeJeppesen
@LarsRyeJeppesen 2 жыл бұрын
Completely impossible /s
@muhammadfarhad8682
@muhammadfarhad8682 4 жыл бұрын
sir please using java language make a video
@mab-q8l
@mab-q8l 4 жыл бұрын
but you don't teach how to do anything with the Months except toast. What if you wanted it to do a different method for each month or have an IF ELSE for each month, it's not possible.
@davidk.3450
@davidk.3450 2 жыл бұрын
Its all about Kotlin, right?
@adityakumdale6300
@adityakumdale6300 Жыл бұрын
Depricated...guys😔 Its a bit hard for beginner to start as you have to follow documentation.
@ramadhansaputra3812
@ramadhansaputra3812 Жыл бұрын
entries, onitemselectedlistener
RECYCLERVIEW - Android Fundamentals
24:58
Philipp Lackner
Рет қаралды 105 М.
ALERT DIALOG - Android Fundamentals
18:47
Philipp Lackner
Рет қаралды 28 М.
TOASTS AND CONTEXT - Android Fundamentals
16:51
Philipp Lackner
Рет қаралды 38 М.
Custom Spinner Android Studio
11:57
Budyfriend Code
Рет қаралды 48 М.
Spinner in Android Studio
25:13
Sandip Bhattacharya
Рет қаралды 17 М.
BOTTOM NAVIGATION VIEW - Android Fundamentals
16:53
Philipp Lackner
Рет қаралды 55 М.
How Do Linux Kernel Drivers Work? - Learning Resource
17:02
LiveOverflow
Рет қаралды 558 М.
PERMISSIONS - Android Fundamentals
19:00
Philipp Lackner
Рет қаралды 47 М.
PASSING DATA BETWEEN ACTIVITIES - Android Fundamentals
18:44
Philipp Lackner
Рет қаралды 47 М.
FRAGMENTS - Android Fundamentals
17:29
Philipp Lackner
Рет қаралды 335 М.
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 131 М.