How to Load .gif by a button and with an EditText url

Hello, i’m a complete beginner and if possible i would need your help…
I would like the user to be able to change an EditText .gif url on a SettingActivity, and then when he return on the MainActivity he can load the .gif by clicking on a button. I’m stuck with telling the app that he can find the url on (EditText) findViewById(R.Id.ExampleEditText). When i do that i got this error :

None of the following functions can be called with the arguments supplied:
public constructor EditText(context: Context!) defined in android.widget.EditText
public constructor EditText(context: Context!, attrs: AttributeSet!) defined in android.widget.EditText
public constructor EditText(context: Context!, attrs: AttributeSet!, defStyleAttr: Int) defined in android.widget.EditText
public constructor EditText(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int) defined in android.widget.EditText

and this one : Overload resolution ambiguity:
public open fun load(bitmap: Bitmap?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager
public open fun load(drawable: Drawable?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager
public open fun load(uri: Uri?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager
public open fun load(file: File?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager
public open fun load(url: URL?): RequestBuilder<Drawable!>! defined in com.bumptech.glide.RequestManager
public open fun load(model: Any?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager
public open fun load(model: ByteArray?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager
public open fun load(resourceId: Int?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager
public open fun load(string: String?): RequestBuilder<Drawable!> defined in com.bumptech.glide.RequestManager

I think i understand that i need to set a context ??
Also there is my kotlin code, for now i’m only trying to call the gif from the EditText without button instructions :

class PlayerActivity : AppCompatActivity() {

private lateinit var imageView: ImageView
private val url = (EditText()) findViewById(R.id.greengif)

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_player)
    imageView = findViewById(R.id.viewgreengif)
    Glide.with(this)
        .load(url)
        .into(imageView)



    val googleActivityBtn: Button = findViewById (R.id.btntools)

    googleActivityBtn.setOnClickListener {
        val intent = Intent(this, ActivityGoogleSignIn::class.java)
        startActivity(intent)
    }
}

}

The google activity btn is the one i use to go to my settings and change the EditText Url.
I sincerly hope i’m not asking too much…

Best regards,
Victor

This looks like very complex things for Glide Apps. I’m pretty sure we have never seen Kotlin mentioned as a programming language used in Glide.

Can you explain your problem in some screenshots or a video?