<The problem of saving data in the database and cl...
# stackoverflow
u
The problem of saving data in the database and closing the program quickly after execution I have a layout that has two EDITETEXT and they should be filled and saved in the database by pressing the save button Everything is correct, but when I write the button code, the program runs and quickly exits the program (And that there is no mistake) If I want to say complete, it means: everything is correct until I want to use the database :| code main activity: enter codeclass MainActivity : AppCompatActivity() { private lateinit var adapter: Adapter private lateinit var...