我使用下面的sortwith方法對ArrayList進行排序,我想它將排序順序從小數到大數。 ... sortedWith(compareBy { it.order }) for (obj in companyList) ...
確定! 回上一頁