Getting Companion Object ArrayList From an Activity In Fragment
I'm trying to send my ArrayList of an object to my fragment so i can do all of the requests in MainActivity and showing them in fragments too faster(I have couple more requests like in the eventReq function). I can get the outputs that i need from log1, log2 and arraylist, there are no problem. But when I tried to get the data on my HomeFragment, I'm getting an empty list.
class MainActivity : AppCompatActivity() {
private lateinit var mainFrameLayout: FrameLayout
private...