Hello I am receiving data from parse SDK in Application class and I have created an ArrayList globally in that class and in my onCreate method I created a query object and trying to receive data and store that data in the ArrayList I have created, Now I want to send the ArrayList which has data to my MainActivity and make use of that data here is my sample code
val streamArray = arrayListOf<String>()
override fun onCreate() {
    super.onCreate()
    Parse.initialize(Parse.Configuration.Builder(this)
            .applicationId("")
            .clientKey("")
            .server("")
            .build()
    )
    val query = ParseQuery<ParseObject>("Stream")
    try {
        val results = query.find()
        for (streamDetail in results) {
            //Log.d("detail", "Stream deail " + streamDetail.getString("detail"))
            streamArray.add(streamDetail.getString("name"))
        }
    } catch (e: ParseException) {
        e.printStackTrace()
    }
}
How can I SEND THE ArrayList to my Main Activity?
