Welcome back.
Now, let's go ahead and start with the functionality for our members, so here to select members,
it will be a little longer.
So we will need multiple videos to finish this functionality because there is quite something to do
here.
But then once it's done, we can look at the due date and all the good stuff.
So let's get started.
First of all, let's go to our constants and create a new constant which will need here, and this one
will be followed or constant for all board members.
List.
Which will be board members.
List.
All right, now we can go to the task list activity and here we will also need another that variable
here, global one private late in it far, which is going to be assigned.
Members details or detail list, which will be an array list.
Of users.
And of course, we need to import user here, so let's do that.
Then I'm going to create a function here which will allow me to.
Get the board member details, so fun board members details a list which will need a list that is passed
and that will be in the list of users again.
So user.
And then.
Here we can assign our assigned members detailed list with the list of this past to us.
OK, and then we can hide the progress dialogue because we will show that in advance before we call
this function.
All right, next, we can go over to our.
Police here in Sort Firebase, so our as to class here and in get assigned members a list and that function
we need to take care of.
Making changes to, for example, the parameters, so get the members details a list here, we get the
activity.
Which will now be a activity in general, so we don't only want to use that in the members activity,
but also in other activities.
All right.
And accordingly, we will need to make changes here further down because we not only want to, as I
said, use it in the member's activity.
OK, so here we can check if.
The activity.
Is of type members activity then do as you did before.
All right, so same.
The difference and then the next one activity is if it's a task based activity.
Then.
Call activity that.
Port.
Members details a list, and we also need to pass on the list, and that will also be our users list.
And then accordingly, of course, we need to highlight progress, dialogue correctly so here.
If we have an error.
But let's also have the appropriate dialogue in either way.
All right, now, back in the task, this activity we had, this function which took care of getting
us the details right.
So we have this function called board details.
Here and these voters were fine, but now we need some additional information here.
So, first of all, we want to show a progress dialogue once again here.
So here, show progress dialogue.
And then we want to call the Firestar class function that we just prepared with the new changes.
So Firestar class.
Assigned or get assigned members details list.
And here we need to present the activity and then the M board details that are assigned to because the
people who are assigned to are the members of the board.
Now, we only need to pass the information from the task list activity over to the card details list
activity or card details activity, because we want to know the members there as well.
Right.
So we are only doing all of that complicated stuff, so to speak, because we don't want to generate
too many requests to the database.
All right.
That's the reason pretty much here.
OK, so then we need to make changes to the card.
Details.
Function, because here we currently putting the cart list item the fastest item for detail, but we
want to also put in the members list.
OK, so here intent put extra.
Constance at the position board members list we want to pass in our.
Assigned members details list or detail list.
Now in our card, the details activity, on the other hand, we want to catch it so private, late in
it, Vah will be our team members.
Details a detail list, which will be an array list of users once again.
OK, and now we, of course, need to get it from the Internet.
So where would we do that?
Well, we already did that, by the way, let's import users here as well so that this error disappears
here where we are getting.
The intense data, so for the Dow, we had this function get the data that we are so now we will just
do the same thing here if the Internet has extra data to position.
Board members list then.
Override or.
Pretty much initialize our members detail list with the details that come from.
A pasodoble, by the way, so same approach that we had here get past a little extra here.
We don't need to default value.
And here, it's not our constant card.
List item, but the board.
Members of this.
And because we are actually getting in the list here, we need to use the greatest extra so pretty long
function name, but you can see you get Pasodoble Array list.
Extra is the function that we need to use if we want to get in the greatest that we passed over.
OK.
At this point, we now pass to members details information from one screen to another and then to the
next one.
So if we look at our map, we get the details about the boards from this activity.
Right.
And once we click on it, we load the specific board and inside of the board, we know which members
are assigned to it.
So here, for example, in members, we can see which members are assigned to it.
So in this case, Bart and Homer, now inside of our card itself, we also want to be able to select
a specific member which is responsible for that card.
So for that task, so to speak.
And then we, of course, want to only have the options that we had in the board itself so that are
assigned to the board itself.
And this information now is passed to this card here.
So now our job is to display it in here or make it selectable pretty much in here.
All right.
And that's what we're going to look at in the next few videos.
So see you there.