diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-03-08 22:23:51 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-03-09 10:12:50 +0530 |
commit | 7ca2a0df180e2c60c539e18e387eda62d7ef813d (patch) | |
tree | afb0a2b246f035b27887236175174444fcd25983 /app/src/main/res/values-zh-rCN | |
parent | 7a4af834c213672c65c89b14c75229bf5f2ea4ab (diff) |
global: Use requireContext rather than getContext in fragments
requireContext provides helpful error messages when it's null as opposed to getContext
which simply throws a NullPointerException.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/values-zh-rCN')
0 files changed, 0 insertions, 0 deletions