lets fix my block as i wanna it is updating the location only and keep the other data name number as it is
so i wanna just update the location for each user with keeping their data as it is not duplicated in the firebase list
lets fix my block as i wanna it is updating the location only and keep the other data name number as it is
your firebaseDriverList is a list of list, but you are testing if a string is in the list. that will always return a false.
[mod edit - unnecessary user tags removed]
so how can i make the yellow marked only changed and the green marked fixed?
to not to duplicate the same name locations
My suggestion:
use driver's name as tag, driver's other info list as value.
In your case, you need a 'for loop' to find out which record with same driver name, change this record, save this record back to firebaseDriverList.