Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For mozilla-mobile#11177 - Load all share targets in the horizontal s…
…hare menu This was previously regressed by having the RecyclerViews for "recent" and "all" items put inside a HorizontalScrollView which would then prevent the RecyclerViews from actually scrolling, recycling, showing new items. As a quick solution that would keep the desired behavior the "all" items list is now a child of a RelativeLayout which will allow it to load all items at once and so all the share targets will be available to the user but which also means no recycling. The RecyclerView for the "recent" items uses a `RECENT_APPS_LIMIT = 6` so this does not need the same "fix" as all the items would fit the screen without any issue.
- Loading branch information