2019-03-20 17:37:22
顧名思義,在如果該 Project 作為 Library / Module 來進行使用,switch 不能用 R.id.xx 進行 case,因為此時 R.id.xx 並非 final 值。
選中 switch 塊,Alt+Enter,選擇轉換為 if。