Reorder third-party list

Julien LepillerSun Jul 10 16:00:53+0200 2022

957c5b5

Reorder third-party list

app/src/main/java/eu/lepiller/nani/LicenseActivity.java

6767
        List<License> erdrgLicenses = new ArrayList<>();
6868
        erdrgLicenses.add(new License(getString(R.string.jmdict_title), null, "http://www.edrdg.org/wiki/index.php/JMdict-EDICT_Dictionary_Project",
6969
                getString(R.string.jmdict_descr), getString(R.string.jmdict_license), null));
70-
        erdrgLicenses.add(new License(getString(R.string.radk_title), null, "http://www.edrdg.org/krad/kradinf.html",
71-
                getString(R.string.radk_descr), getString(R.string.radk_license), null));
7270
        erdrgLicenses.add(new License(getString(R.string.kanjidic_title), null, "http://www.edrdg.org/wiki/index.php/KANJIDIC_Project",
7371
                getString(R.string.kanjidic_descr), getString(R.string.kanjidic_license), null));
72+
        erdrgLicenses.add(new License(getString(R.string.radk_title), null, "http://www.edrdg.org/krad/kradinf.html",
73+
                getString(R.string.radk_descr), getString(R.string.radk_license), null));
7474
        licenseInformation.add(
7575
                new License(getString(R.string.erdrg_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_nani_edrdg, getTheme()), null,
7676
                        getString(R.string.erdrg_descr), "", erdrgLicenses));
7777
7878
        licenseInformation.add(
79-
                new License(getString(R.string.kanjivg_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_kanjivg, getTheme()), "http://kanjivg.tagaini.net/",
80-
                        getString(R.string.kanjivg_descr), getString(R.string.kanjivg_license), null)
81-
        );
82-
        licenseInformation.add(
8379
                new License(getString(R.string.jibiki_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_jibiki, getTheme()), "https://jibiki.fr",
8480
                        getString(R.string.jibiki_descr), getString(R.string.jibiki_license), null)
8581
        );
8682
        licenseInformation.add(
87-
                new License(getString(R.string.wadoku_title), ResourcesCompat.getDrawable(getResources(), R.drawable.wadoku, getTheme()), "https://wadoku.de",
88-
                        getString(R.string.wadoku_descr), getString(R.string.wadoku_license), null)
83+
                new License(getString(R.string.kanjivg_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_kanjivg, getTheme()), "http://kanjivg.tagaini.net/",
84+
                        getString(R.string.kanjivg_descr), getString(R.string.kanjivg_license), null)
8985
        );
9086
        licenseInformation.add(
9187
                new License(getString(R.string.tatoeba_title), ResourcesCompat.getDrawable(getResources(), R.drawable.ic_tatoeba, getTheme()), "https://tatoeba.org",
9288
                        getString(R.string.tatoeba_descr), getString(R.string.tatoeba_license), null)
9389
        );
90+
        licenseInformation.add(
91+
                new License(getString(R.string.wadoku_title), ResourcesCompat.getDrawable(getResources(), R.drawable.wadoku, getTheme()), "https://wadoku.de",
92+
                        getString(R.string.wadoku_descr), getString(R.string.wadoku_license), null)
93+
        );
9494
9595
        final ExpandableListView list_view = findViewById(R.id.license_view);
9696
        adapter = new LicenseAdapter(this, licenseInformation);