android-fragments tag

11 questions


1 answers
73 views
0
How to write context in Fragment

I'd like to get a context from Fragment. I tried getApplicationContext() and FragmentClass.this to get a context from the database creator, but it didn't work. What should I do?public Database(Context...

« - 2 -

© 2024 OneMinuteCode. All rights reserved.