You should be able to do this using the two parameters of onCheckChanged(CompoundButton cb, boolean b){ … //In the Snackbar's setAction( ):. Snackbar.
確定! 回上一頁