thanks @ephemient i guess am just tired for today the problem was right in front of my eyes the whole time
Copy code
it?.forEachIndexed { _,theChannels ->
var channel = theChannels
//This is the problem it gets back only the first element
println(channel)
// appBroadcastIntent.putExtra(
// channel.toString(),
// channel
// )
}