getApplication() in Fragment to your ViewModel factory? Sample. ViewModel that only needs Application context
確定! 回上一頁