經安全檢測,此網站為安全網站,請放心前往原始網址!

android - Using context in fragment - Stack Overflow

How can I get the context in a fragment? I need to use my ... You can use getActivity() , which returns the ...

stackoverflow.com

網址安全性掃描由 google 提供