Skip to main content
added 4 characters in body
Source Link
Simon
  • 1.7k
  • 15
  • 18

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first()["time"].get("time") // returns 1637868400000 

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first()["time"] // returns 1637868400000 

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first().get("time") // returns 1637868400000 
added 2 characters in body
Source Link
Simon
  • 1.7k
  • 15
  • 18

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first["time"]first()["time"] // returns 1637868400000 

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first["time"] // returns 1637868400000 

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first()["time"] // returns 1637868400000 
added 7 characters in body
Source Link
Simon
  • 1.7k
  • 15
  • 18

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first["time"] // returns 1637868400000 

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.first["time"] // returns 1637868400000 

Try to cast chaplainAvailableTimes as val theData = chaplainAvailableTimes as? HashMap<*, *>. After that you will be able to iterate over it or get the data like this:

theData.values.first["time"] // returns 1637868400000 
Source Link
Simon
  • 1.7k
  • 15
  • 18
Loading