mattermost-mobile/app/screens/select_team
Miguel Alatzar c72ea6a281
[MM 13161] Mobile: Add paging to Select Teams screen (#2468)
* Use updated getJoinableTeams function from mattermost-redux

* Use onEndReached for infinite scrolling of paginated teams

* Add onRefresh

* Update Settings screen to expect joinableTeams as array

* Fix linter issues

* Test that page is updated after getTeams() call

* Revert package-lock.json changes

* Update mattermost-redux dependency

* Update mattermost-redux dependency

* Only call getTeams if more can be loaded and only after a previous
call has completed

* Update snapshot due to  prop

* Update CustomList to support refreshing as well as option to not
render the separator

* Use CustomList in SelectTeam
2019-02-20 09:12:36 -08:00
..
__snapshots__ [MM 13161] Mobile: Add paging to Select Teams screen (#2468) 2019-02-20 09:12:36 -08:00
index.js [MM 13161] Mobile: Add paging to Select Teams screen (#2468) 2019-02-20 09:12:36 -08:00
select_team.js [MM 13161] Mobile: Add paging to Select Teams screen (#2468) 2019-02-20 09:12:36 -08:00
select_team.test.js [MM 13161] Mobile: Add paging to Select Teams screen (#2468) 2019-02-20 09:12:36 -08:00