https://kotlinlang.org logo
Title
u

user

06/26/2022, 11:11 AM
how to remove dynamically created EditTexts kotlin I am a beginner in app development. I want to create a GPA calculator. I was able to create a button that would create a new EditText view for each time it was tapped. but I don't know how I can remove them. removeView() only works for the first view, then stops working. Here is my code: activity_main.xml new_layout.xml MainActivity.kt package com.example.gpacalculator import androidx.appcompat.app.AppCompatActivity import...