那這邊我選擇繼承 AndroidViewModel ,並宣告 pirateListRepository ,那實作的部份我採用 by lazy 的方式去處理,這樣做的話,會在程式中第1 次使用到 ...
確定! 回上一頁