Relative Content

Tag Archive for kotlinandroid-fragmentstablelayout

How do I initialize a TableLayout in Kotlin?

I have another fragment that I want to launch to when clicking a button and in that fragment I want to add stuff to a table. The only problem is, I try to initialize a TableLayout variable but it’s never initialized. Here’s the .kt file