Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このコードを使用してリスト ビューをアルファベット順に並べ替えていますが、並べ替えられません。az 並べ替えられます。問題はどこにありますか?
adapter.sort(new Comparator<String>() { @Override public int compare(String arg1, String arg0) { return -arg1.compareTo(arg0); } });