SPINNER - Android Fundamentals

  Рет қаралды 54,759

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 3 жыл бұрын
@@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) }
@ValdaXD
@ValdaXD 4 жыл бұрын
Finally a tutorial with nice mic and good english 👁👄👁
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thanks 😅
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thanks 😅
@vikasbhadoriya1466
@vikasbhadoriya1466 4 жыл бұрын
Sir, how can I show toast when only I SELECT any option from the spinner? Also I'm loving your tutorials!!!❣
@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!!!
@nitesharu1269
@nitesharu1269 3 жыл бұрын
Can I select multiple item in spinner
@timoursamatof9675
@timoursamatof9675 3 жыл бұрын
when i create ArrayAdapter, that's show a mistake and request create a function. Who knows what problem is?
@nhatbui5984
@nhatbui5984 11 ай бұрын
Can I use recycleView instead of spinner ? With recycleivew, I can easily custom item, background ,....
@adityakumdale6300
@adityakumdale6300 Жыл бұрын
Depricated...guys😔 Its a bit hard for beginner to start as you have to follow documentation.
@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
@ManishTapsi
@ManishTapsi 4 жыл бұрын
thanks sir I'm learning a lot from your videos.
@davidk.3450
@davidk.3450 2 жыл бұрын
Its all about Kotlin, right?
@dead-mb1zc
@dead-mb1zc 3 жыл бұрын
Thank you for all the videos!!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad you like them!
@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?
@mychannel-u2p
@mychannel-u2p 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.
@AnaGuerra-is6nr
@AnaGuerra-is6nr Жыл бұрын
What if I want to keep the default spinner text always the same, for example months or "placed"?
@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.
@GAGANDEEP901
@GAGANDEEP901 2 жыл бұрын
best tutorial ever, omg it solved my doubt pheeewwww
@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 :)
@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...
@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
@keithkirui7008
@keithkirui7008 10 ай бұрын
My Teacher🔥
@alferdous6653
@alferdous6653 3 жыл бұрын
I am facing some problem when I am practicing this tutorial. Can you please give me the code?
@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...
@studyonline3236
@studyonline3236 Жыл бұрын
One of the best videos so far in the playlist.
@saideekshith3295
@saideekshith3295 2 жыл бұрын
Can you tell lil about adapters?
@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.
@muhammadfarhad8682
@muhammadfarhad8682 4 жыл бұрын
sir please using java language make a video
@mertcankartal4453
@mertcankartal4453 2 жыл бұрын
so clean explanation thank you sir
@Dinocasanova
@Dinocasanova 4 жыл бұрын
Thank you 🙌!!!
@angelmauriciorivas6160
@angelmauriciorivas6160 Жыл бұрын
thank you so much Philipp
@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..
@pp-1954
@pp-1954 2 жыл бұрын
Thanks for the great video, phil, simple and straightforward
@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
@pravinmane1
@pravinmane1 3 жыл бұрын
It was really Helpful :) thank you
@emmatan8191
@emmatan8191 3 жыл бұрын
Thank you for these awesome videos!
@configureunex545
@configureunex545 4 жыл бұрын
on Gridview video
@Arun_Kumar_x86
@Arun_Kumar_x86 2 жыл бұрын
Awesome work dude it was clear as crystal
@gutic4824
@gutic4824 4 жыл бұрын
Great video!! Thanks
@PhilippLackner
@PhilippLackner 4 жыл бұрын
You're welcome!
@kamilmagdziarz374
@kamilmagdziarz374 3 жыл бұрын
awesome video, very clear, good work
@mob322
@mob322 3 жыл бұрын
Thx so much
@nix-jv5ee
@nix-jv5ee 3 жыл бұрын
Nice, thanks
@ramadhansaputra3812
@ramadhansaputra3812 Жыл бұрын
entries, onitemselectedlistener
@yutaitadori7318
@yutaitadori7318 3 жыл бұрын
U are awesome 💎🔥
@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
@thongduong2944
@thongduong2944 3 жыл бұрын
nice!
@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 Жыл бұрын
Completely impossible /s
@timi34cr
@timi34cr 2 жыл бұрын
Awesome, thanks!
@PhilippLackner
@PhilippLackner 2 жыл бұрын
You're welcome!
@olayiwolaosho4989
@olayiwolaosho4989 3 жыл бұрын
Great video 😊!!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thank you!! 😊
@vinaykumarpatel649
@vinaykumarpatel649 4 жыл бұрын
Thank you sir...
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Most welcome
@코딩하는호랑이
@코딩하는호랑이 3 жыл бұрын
Thank you so much. I subscribed you 3:55 이해가 잘 안 가는 부분 9:10 실행 중에서만 드롭다운 내용을 알 수 있을 때 설정하는 방법
@Luffy_2804
@Luffy_2804 Жыл бұрын
do you understand eng. that well ??
RECYCLERVIEW - Android Fundamentals
24:58
Philipp Lackner
Рет қаралды 104 М.
ALERT DIALOG - Android Fundamentals
18:47
Philipp Lackner
Рет қаралды 28 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,9 МЛН
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,7 МЛН
PASSING DATA BETWEEN ACTIVITIES - Android Fundamentals
18:44
Philipp Lackner
Рет қаралды 46 М.
TOASTS AND CONTEXT - Android Fundamentals
16:51
Philipp Lackner
Рет қаралды 38 М.
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 186 М.
BOTTOM NAVIGATION VIEW - Android Fundamentals
16:53
Philipp Lackner
Рет қаралды 54 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 809 М.
FRAGMENTS - Android Fundamentals
17:29
Philipp Lackner
Рет қаралды 331 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 311 М.
INTENTS AND STARTING ACTIVITIES - Android Fundamentals
16:11
Philipp Lackner
Рет қаралды 68 М.