Even when you think you have few views and few likes, never stop, you do a great job, thanks for all your help
@PhilippLackner4 жыл бұрын
Thank you so much, I mean really, these comments keep me motivated, you are awesome! I'm very glad my content helps you
@DreamDiner4 жыл бұрын
Is it possible to customize a spinner, i.e change the color, font or size?
@tugononkimjethro6394 жыл бұрын
@@PhilippLackner hello i want to ask something did you declare spMonths somewhere cuz it show in mine the one on 4:20
@yutaitadori73183 жыл бұрын
@@tugononkimjethro639 XML spinner id
@SuegroLM3 жыл бұрын
@@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) }
@ramasubramanian31543 жыл бұрын
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!!!
@ValdaXD4 жыл бұрын
Finally a tutorial with nice mic and good english 👁👄👁
@PhilippLackner4 жыл бұрын
Thanks 😅
@PhilippLackner4 жыл бұрын
Thanks 😅
@studyonline3236 Жыл бұрын
One of the best videos so far in the playlist.
@vikasbhadoriya14664 жыл бұрын
Sir, how can I show toast when only I SELECT any option from the spinner? Also I'm loving your tutorials!!!❣
@dead-mb1zc3 жыл бұрын
Thank you for all the videos!!
@PhilippLackner3 жыл бұрын
Glad you like them!
@keithkirui7008 Жыл бұрын
My Teacher🔥
@ManishTapsi4 жыл бұрын
thanks sir I'm learning a lot from your videos.
@pp-19542 жыл бұрын
Thanks for the great video, phil, simple and straightforward
@benimustikoaji13932 жыл бұрын
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
@mertcankartal44532 жыл бұрын
so clean explanation thank you sir
@Arun_Kumar_x862 жыл бұрын
Awesome work dude it was clear as crystal
@anbuselvanrocky4 жыл бұрын
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
@PhilippLackner4 жыл бұрын
I have 3 of such playlists, just not with databinding
@anbuselvanrocky4 жыл бұрын
@@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 :)
@Ilamarea2 жыл бұрын
Would to see an example of a custom spinner. I'd like to make a list of countries with currency codes and flags.
@angelmauriciorivas61602 жыл бұрын
thank you so much Philipp
@GAGANDEEP9013 жыл бұрын
best tutorial ever, omg it solved my doubt pheeewwww
@emmatan81913 жыл бұрын
Thank you for these awesome videos!
@AnaGuerra-is6nr Жыл бұрын
What if I want to keep the default spinner text always the same, for example months or "placed"?
@nhatbui5984 Жыл бұрын
Can I use recycleView instead of spinner ? With recycleivew, I can easily custom item, background ,....
@kamilmagdziarz3743 жыл бұрын
awesome video, very clear, good work
@gopalkrishanbhatnagar65982 жыл бұрын
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
@timoursamatof96753 жыл бұрын
when i create ArrayAdapter, that's show a mistake and request create a function. Who knows what problem is?
@maxhooker41863 жыл бұрын
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...
@pravinmane13 жыл бұрын
It was really Helpful :) thank you
@nitesharu12693 жыл бұрын
Can I select multiple item in spinner
@Dinocasanova4 жыл бұрын
Thank you 🙌!!!
@OmerFarukUcer2 жыл бұрын
It's nice tutorial but it doesn't work in Fragment with that way.How can I do it in Fragment class?
@gutic48244 жыл бұрын
Great video!! Thanks
@PhilippLackner4 жыл бұрын
You're welcome!
@saideekshith32952 жыл бұрын
Can you tell lil about adapters?
@timi34cr2 жыл бұрын
Awesome, thanks!
@PhilippLackner2 жыл бұрын
You're welcome!
@코딩하는호랑이3 жыл бұрын
Thank you so much. I subscribed you 3:55 이해가 잘 안 가는 부분 9:10 실행 중에서만 드롭다운 내용을 알 수 있을 때 설정하는 방법
@Luffy_2804 Жыл бұрын
do you understand eng. that well ??
@nix-jv5ee3 жыл бұрын
Nice, thanks
@yutaitadori73183 жыл бұрын
U are awesome 💎🔥
@mob3223 жыл бұрын
Thx so much
@vinaykumarpatel6494 жыл бұрын
Thank you sir...
@PhilippLackner4 жыл бұрын
Most welcome
@olayiwolaosho49893 жыл бұрын
Great video 😊!!
@PhilippLackner3 жыл бұрын
Thank you!! 😊
@georgenady73754 жыл бұрын
So how to put the item's text of the spinner when we select it in a text view ??
@andyal8684 жыл бұрын
textView.text = adapterView?.getItemAtPosition(position).toString() This worked for me in "override fun onItemSelected" function
@arunmohan3174 жыл бұрын
@@andyal868 if we have more than one item in data class, how to get data seperately..getItemAtPosition is not working properly..
@configureunex5454 жыл бұрын
on Gridview video
@alferdous66534 жыл бұрын
I am facing some problem when I am practicing this tutorial. Can you please give me the code?
@fliamachado3 жыл бұрын
Hi, anyone knows how to bypass initial onItemSelectedListener, sometimes after UI is created, fetch data from preferences and set Spinner to another item...
@farhanammar57153 жыл бұрын
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
@SuegroLM3 жыл бұрын
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.
@DragonWings20243 жыл бұрын
How were you able to access the spinner without initializing it? It's not letting me do that.
@vivekharwani3 жыл бұрын
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
@thongduong29443 жыл бұрын
nice!
@olayiwolaosho49893 жыл бұрын
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 ?
@PhilippLackner3 жыл бұрын
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
@olayiwolaosho49893 жыл бұрын
@@PhilippLackner This is Great. Thank you soon much
@DreamDiner4 жыл бұрын
Another great video! Is it possible to modify and change a spinner's font, size or color?
@PhilippLackner4 жыл бұрын
Yes, with custom styles
@LarsRyeJeppesen2 жыл бұрын
Completely impossible /s
@muhammadfarhad86824 жыл бұрын
sir please using java language make a video
@mab-q8l4 жыл бұрын
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.34502 жыл бұрын
Its all about Kotlin, right?
@adityakumdale6300 Жыл бұрын
Depricated...guys😔 Its a bit hard for beginner to start as you have to follow documentation.