The Secret of Successful HADOOP COURSE
by Simran Aggarwal your beauty our passionWe have just learned how to download
data from our database. Right now all you have to do is just process data. So I
will use the children and the snapshot the value of the children. OK. So let me
just comment this out so you will now have to print Glenda's but we won't be
using that. OK. And what I will do here is just create a for you. I will say
for every Hadoop
course snapshot in data in PS K that children and
actually we need to do it like this. we can do it like this. Zero children, it means that go to a loop in every child of this snapshot. OK. They take a
snapshot. And now I will just dive into this snapshot that's of value to find
and find every individual post of my own. so I will say I will cast this as
a hash map because why. Because I need to have a download.
What is Big Data Hadoop?
You're out this thing. I need to have the comment and distinct user e-mail and this. So as we did in Jason we need to
have a hash map saying that she is that the values that she is that values that
she is using your email value are James So I will say the hash map is snapshot
data value as hash map string. So that is the same thing I do in Jason
and this data looks like Jaison to a fair OK. And later on, I will just say hi
map that size is greater than online marketing courses actually zero if I have any value in that.
OK. I will create an email saying that hash map user email and I will create a
command map command. This has to be exact wording like this. Use your e-mail
command and download you are of an image hash map down on yours.
1. I will add all these values in my array lists. So I will say f email is not null e-mail user e-mail from firebase that adds. If comments are not now our Hadoop course comments user comments from firebase at comments.
2. So that's how we roll. That's how we add the necessary information. Our database in our aerialists. And then I will just say adapter Dotts notify data change. And before we go on and do does loop I will also clear the adapter.
3. I will clear the user image from firebase user command from firebase end-user email from firebase to avoid any confusion to avoid any dupped tickets inside this class.
Scope of Hadoop course:
So let us try that. And see if we can
get this. They tell us and show it to the user. We're adding them to our are
lists and then connecting down a list are least through when they recapture
and they were getting together. So let's sign an. And here we go we have an
error. Let's see what the error is. I think what we need to do here not returning
this superb thing. Because of why. Because we actually created it right. So we
have created a custom view but rather Hadoop
course than turning it we are turning this
super dot. So I will say we turn custom. Sorry about that. I hope you have
recognized it yourselves. And before me, you change and that has you debugged
things. That's how you find the errors and just make them right.
1. ut facing any errors it isn't
really a program. And as you can see we now see James and the nice of you.
Thanks. OK. Let me add some new polls. And this time this will be canal city.
Let me upload this and see ya, Meekins. Just see the nice city as well. All we
have to Hadoop course do now is find a way to show the user dizzying
image. We have the euro but we cannot show it to the user. And that's what's
that's what we're going to do in the following lecture. So we will
use this to connect our lists with you with this adapter and with a relay to date
us.
2. that you will just understand this better. OK. So
for now if you didn't understand what's going on I guarantee you will in a
minute just keep on watching. I will just overwrite some functions OK so I will
say generate override methods and what I need is get we get this one. So
within this or write function, I will Hadoop
course write what I need to write so I will have a layout. Inflator. Like
many inflators and this will be the context that layout inflator and I will define
my custom view and layout inflator dot inflate our DOT Kustom, you dude. I
don't need any. Takes you. Yeah. So custom view. Now I can just reach my custom
view objects like custom UV dot custom user name.
Conclusion:
This will be using email. OK. The position is the position. So this
will say this will take everything. By the way custom user named uptakes, this
will just gap to relate to the position of the user email and match it to the
were late to the custom you text. Ok so this is the same logic that we do in
the least Viiv But now we're doing it custom we're Hadoop course doing it manually. So this will be
the same thing for custom command text. Again user comments position. I will, later on, show you how to work with user images for right now. We have created
our custom view and we will connect it with our feed activity in the next
election.
Sponsor Ads
Created on May 31st 2019 01:53. Viewed 391 times.