mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-28 18:44:44 +01:00
Sorting subreddits on edit multireddit page (#1402)
This commit is contained in:
parent
44a553efac
commit
b885e12d1a
@ -19,6 +19,7 @@ import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
import com.r0adkll.slidr.Slidr;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Named;
|
||||
@ -90,6 +91,8 @@ public class SelectedSubredditsAndUsersActivity extends BaseActivity implements
|
||||
subreddits = getIntent().getStringArrayListExtra(EXTRA_SELECTED_SUBREDDITS);
|
||||
}
|
||||
|
||||
Collections.sort(subreddits);
|
||||
|
||||
adapter = new SelectedSubredditsRecyclerViewAdapter(this, mCustomThemeWrapper, subreddits);
|
||||
linearLayoutManager = new LinearLayoutManagerBugFixed(this);
|
||||
recyclerView.setLayoutManager(linearLayoutManager);
|
||||
|
Loading…
x
Reference in New Issue
Block a user