Android 如何按选择顺序将所选照片从我的意图添加到适配器?

Android 如何按选择顺序将所选照片从我的意图添加到适配器?,android,android-intent,Android,Android Intent,我使用此意图来选择多个图像: val intent = Intent() intent.type = "image/*" intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true) intent.action = Intent.ACTION_GET_CONTENT startActivityForResult(Intent.create

我使用此意图来选择多个图像:

            val intent = Intent()
            intent.type = "image/*"
            intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true)
            intent.action = Intent.ACTION_GET_CONTENT
            startActivityForResult(Intent.createChooser(intent, "Select photos"), 17)
然后获得活动结果,我获取数据并将它们全部加载到回收器的适配器中。 但我注意到,它们装入adaper的顺序与它们被选择的顺序无关。
我可以按照照片的选择顺序来订购
clipData
吗?

我认为您无法获得原始订单