Firestore Tutorial Part 7 – CUSTOM JAVA OBJECT – Android Studio Tutorial

In part 7 of the Firestore tutorial we replace the Java HashMap in our code for our own custom Note class which has the title and description as fields and their corresponding getter methods. Firestore makes it easy to to turn a document into a custom model class via reflection by using the DocumentSnapshot’s toObject method.

Watch the whole playlist:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuDrSqu-dKdDi3Q6nM-VUyxD

Example code, setup guide link etc:
https://codinginflow.com/code-examples/android/firestore/part-7

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

How To Set the App Icon for Android App – Android Studio 2.2.3 Tutorial

Hello what-what’s going on guys?!! , today we’re setting icon to our android app. I know it sounds simple but many of I know are still wondering how to set a icon in proper method, for those, I am posting it today.

How to increase android app icon size?
Here’s a brilliant idea for those who having the problem that their App icon size is too small on device.
Visit here:

http://makeappicon.com

Hope you guys enjoy, feel free to smash that like button and show your awesome support & hit that subscribe button to keep me upto date with you !!

Thanks, Peace out!!
Sabith Pkc Mnr

Channel: Sabith Pkc Mnr
Published: 2017-01-26 19:21:27
Duration: 2M1S
Views: 40447
Likes: 303
Favorites: 0

How to Make a Button Open a New Activity – Android Studio Tutorial

In this video we will learn, how to open a new Activity from a Button click. For this we will create a new Intent and pass it to the startActivity method.

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2017-10-11 20:18:26
Duration: 3M22S
Views: 41428
Likes: 464
Favorites: 0

Send Custom Object to Activity Using Parcelable – Android Studio Tutorial

In this tutorial we will use the Parcelable interface, which is a faster alternative to Java’s Serializable interface, to send a custom object from our MainActivity to another activity, after we click that particular item in a RecyclerView.

Source code, dependencies etc:
https://codinginflow.com/code-examples/android/parcelable

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2017-11-22 18:45:05
Duration: 8M28S
Views: 2798
Likes: 67
Favorites: 0

Android Studio Tutorial For Beginners – 1 | Android Tutorial | Android App Development | Edureka

( Android Training : https://www.edureka.co/android-development-certification-course )
This Android Studio tutorial video will help you learn the basics of Android App development. It is ideal for both beginners and professionals who wants to learn or brush up the basics of Android. This android tutorial is a two part session. In the first session, it describes the following topics:

What is Android Studio?
Android Stack
Installation
What is an activity?
Activity life Cycle

Subscribe to our channel to get video updates. Hit the subscribe button above.

Check our complete Android playlist here: https://goo.gl/wHTYKo

#Android #AndroidStudio #AndroidTutorial

How it Works?

1. Android for beginners is a 6 week practical course on Android App Development.

2. We have a 24×7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course.

3. At the end of the training you will be working on a real time project for which we will provide you a Grade and a Verifiable Certificate!

– – – – – – – – – – – – – – – – –

About the Course

Edureka’s Android App Development Certification Training course is aligned with Google’s vision of helping to make India a global hub of high-quality mobile developers and towards that supporting Google in their endeavor to train two million android developers. Our Android course is taught by top practitioners who are working full time, developing complex mobile apps. Our instructors work closely with Edurekas in-house instructional design team to develop comprehensive and latest course content along with projects. Our interactive sessions and hands-on projects will ensure that you come out of this Android training as an ace developer.

The Google authorized Android Development course is primarily designed for programmers who want to learn how to create mobile applications on the Android platform. As a part of this course, you will create widgets, Customize List view, Grid view, Spinners etc, create applications using audio, video and sqlite database and finally publish it on Google Play. This course will help you learn mobile app development from scratch and unlock new job opportunities for you in start-ups as well as large organizations. Master Android app development, learn how to set up Android Studio, understand Android architecture in detail, learn about integrating your mobile apps with Facebook, Twitter and other social media, Google Drive, Google Maps, SQLite and learn how to create and optimize app user experience.

Who should go for this course?

All those students and professionals who are keen to create amazing Apps in Android should go for this course.

Why learn Android ?

Android is fast becoming one of the biggest platforms for programmers today. There is a huge demand for skilled Android developers all over the world. Most businesses across multiple domains are building Android Apps both for enterprise and retail products. Whether you are student or in the IT industry, possessing Android Development skills will help you take the next big leap in your career.As a part of this course, you’ll develop your own mobile applications under the guidance of our expert instructors to give you a hands-on experience.This course is designed to help you become a top mobile app developer.

Please write back to us at sales@edureka.co or call us at +918880862004 or 18002759730 for more information.

Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka

Customer Reviews:

Ujit Kumar Nayak, Asst. Manager-Instrumentation at Uniphos, says “When I joined edureka!, I started learning Android Application from the scratch and at the end of the course I was able to develop my dream application “Droid Remote” and this App works perfectly fine. I can apply the acquired skill on Android at my work to develop smart embedded systems. Thank you the entire edureka Team!”

Channel: edureka!
Published: 2017-06-29 15:05:25
Duration: 1H59M3S
Views: 248146
Likes: 2074
Favorites: 0

HashSet in Java- Interview Cracker

How HashSet works internally in Java? – Interview Cracker

Today’s topic is How hash set works internally in java?
Let us first understand that:
Hashset allows no duplicates.
Hashset allows only 1 null value.
Hash set works on the principle of hashing.
Hash set only stores elements and NOT key value pair like hash map.
Hash set internally uses hash map for storing elements.
Let us see how elements are added in a hash set?
In hashset, from the add method, the put method of backing hash map is called, where the value, which has to be added in the hash set, becomes key and a constant object called PRESENT is used as value.
Present?? What is it?
Let us see.
In Hash set implementation PRESENT is defined as :
private static final Object PRESENT = new Object();
This is the dummy value to associate with an Object in the backing hash Map.

So we can notice that add method of hashes calls put method of backing hash map object.
It passes the element as key and a constant present is stored as it’s value.
We know that in hash map value may be duplicate but keys should be unique.
That is why hash set has unique values.
Let us see how object is removed in hash set?
Internally, remove method of HashSet calls remove(Object key) method of the HashMap.

Here note that remove(Object key) method of the HashMap returns the Value associated with the key
But note that the remove(Object o) method of the HashSet returns Boolean value
We know that for every value added in HashSet that value becomes Key and the value is always an object called PRESENT
So the value that is returned from the remove(Object key) method of the HashMap is always PRESENT thus the condition map.remove(o)==PRESENT
Now let us see how object is retrieved?
In HashSet there is no get method.
Here iterator is used to iterate through the values of the hash Set.
Internally it will call the keyset of the HashMap.
As values are stored as keys in the HashMap so we’ll get the values stored in the HashSet.

The default initial capacity is 16
The default load factor is 0.75
Also do not forget to refer to our previous tutorial videos for understanding load factor and initial capacity.
Remember that internal working for hash set is an important interview question.

Channel: Sudipto Roy
Published: 2017-12-10 11:05:45
Duration: 8M16S
Views: 495
Likes: 13
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *