参考https://github.com/drakeet/ToastCompat/blob/master/library/src/main/java/me/drakeet/support/toast/SafeToastContext.java