customObjectList
というカスタムオブジェクトのリストがあります。 customObjectList.toArray(new CharSequence[customObjectList.size()])
しかし、私はこのエラーを得た:カスタムオブジェクトのリストをCharSequenceに変換する
java.lang.ArrayStoreException: source[0] of type com.idea.customobject cannot be stored in destination array of type java.lang.CharSequence[]
変換する正しい方法は何ですが、私は
これは私がそれを行う方法である、それは最初のCharSequenceに変換する必要がAlertDialog.Builder.setMultiChoiceItems()
、にバインドしたいですか?
ねえ、あなたはそれを解決できましたか? – Vucko