Answer the question
In order to leave comments, you need to log in
"import android.support.v4" how to connect in android studio?
Trying to use removeDialog, onPrepareDialog in DialogFragment
android studio studio reports deprecated. I’m trying to connect support.v4.DialogFragment,
but it doesn’t see it! (I understand that I need to pull up the library from V4. But how can I do it correctly?
Or tell me how to reload the fragment: public class Dialog1 extends DialogFragment
so that the data in its Layout is updated in it.
Answer the question
In order to leave comments, you need to log in
You don't need support.v4. Need androidx.
Read the details in the guide: https://developer.android.com/jetpack/androidx/rel...
There is also about the connection.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question