CheckBox in Android Studio
Sandip Bhattacharya Sandip Bhattacharya
10.2K subscribers
20,242 views
158

 Published On Nov 19, 2019

Master programming and take your career to new heights with clear, concise C, Android, and Web Development courses for just Rs. 999 / $ 12. Get lifetime access and certificate. Click here to enroll: https://courses.sandipbhattacharya.co...

Hi, in this video, I'll demonstrate how to work with CheckBox in Android. I'll show you step-by-step, how to design an XML layout that consists of few CheckBoxes and two other normal buttons to clear the selection and to show Toast message based on which CheckBoxes are currently selected. You'll also learn how to handle the onClick event as well as onCheckedChanged event on CheckBox. Let's get started.

What is CheckBox?
Android CheckBox is a two-state button that can be either checked or unchecked, like an ON/OFF switch and it allows the user to toggle between the two states. Generally, we can use multiple CheckBoxes in an android app to allow the user to select one or more options from a set that is not mutually exclusive. So, unlike RadioButtons where your selection automatically deselects all other radio buttons in the RadioGroup, in the case of multiple CheckBoxes, if you select one, it doesn't deselect others. In android, there is a lot of usage of a checkbox. For example, it can be used to take a survey on expertise or skillset, where we can list a few options and allow the user to choose using CheckBox.

Source Code for this video
https://github.com/sandipapps/CheckBo...

| -------------------------------------------------------------------- |

đź‘Ť Subscribe to the Channel
https://www.youtube.com/c/SandipBhatt...

Check out other Playlists

â–ş Introduction to Programming with C (2 hours of video content)
   • C Programming Tutorial for Beginners  

â–ş Android App Development for Beginners (8+ hours of video content)
   • Android Apps and Games Development fo...  

â–ş Build a Complete Quiz App for Android
   • Build a Complete Quiz App for Android  

â–ş Android SQLite Programming for Beginners (2.5 hours of video content)
   • Android SQLite Programming for Beginners  

â–ş Android Game Development in Android Studio: Build Games for Absolute Beginners (3+ hours of video content)
   • Android Game Development in Android S...  

â–ş Android Game Development - Create Your First Mobile Game
   • Android Game Development - Create You...  

â–ş Android Game Development Tutorial
   • Android Game Development Tutorial  

â–ş Programming Flappy Bird for Android
   • Programming Flappy Bird for Android  

â–ş Object Oriented Programming Fundamentals
   • Object Oriented Programming Fundamentals  

â–ş jQuery for Beginner to Advanced
   • jQuery for Beginner to Advanced  

â–ş PHP MySQL CRUD Tutorial (Create, Read, Update, Delete) (1+ hour of video content)
   • PHP MySQL CRUD Tutorial (Create, Read...  

❤️ You can donate by clicking here
PayPal: https://paypal.me/CreatorSandip
For Indians: https://www.instamojo.com/@CreatorSandip

✉️ For Business Inquiries
[email protected]

đź“Ł Follow me on other sites
→ Website: https://SandipBhattacharya.com
→ Udemy: http://bit.ly/SandipUdemy
→ Skillshare: http://bit.ly/SandipSkillshare
→ Google Play: http://bit.ly/SandipPlay
→ Facebook Page: http://bit.ly/SandipFacebook
→ Facebook Group: https://bit.ly/PWSGroup
→ LinkedIn Group: https://bit.ly/PWSGroupLI
→ Twitter: http://bit.ly/SandipTwitter
→ GitHub: http://bit.ly/SandipGitHub

show more

Share/Embed