I am putting the data into the HashMap of type <String, Object>. I’m using object because I don’t know what is coming from the backend. Now my question is, when I have to use that object, should I convert that to proper data type? Is there any issue if I use them as object.
I am putting the data into the HashMap of type <String, Object> . I’m
Share
You should convert them to proper data type to call your methods on them. use
instance Ofoperator to check their types.