You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a development point of view, it would be great to show a UploadListFragment within any activity. For example, with the current bottom navigation bar we need to create a new activity just to show the fragment. It would be great to simply replace one fragment with another.
At the moment, there are so many dependencies to open UploadListFragment:
UploadListFragment extends ExpandableListFragment which extends ExtendedListFragment.
UploadListFragment is created inside UploadListActivity which extends FileActivity which extends DrawerActivity
TASKS
Research (if needed)
Create branch new_arch/uploads_screen
Development tasks
Create a new fragment in kotlin with a recycler view
Create a new adapter for the recycler view
Use the ViewModel to retrieve the needed data from the usecases (all stored uploads) and store them in a livedata so the fragment can observe the changes
Observe the livedata and update the adapter with the transfers
At this point we should see something in the UI
Update the domain and data layers to retrieve the stored uploads as live data so we can observe them in real time
Create a new viewtype with its viewholder to show the headers (for example: In Progress, n items in progress, Cancel all)
Modify the adapter to show the uploads by TransferStatus
Show options Retry, Clear, Cancel depending on the transfer status group
Implement all the calls to retry, cancel, etc..
For the transfers in progress, retrieve the progress from Work manager and show a progress bar with its percentage
(N2H) Add a DiffUtil
(N2H) Generate thumbnails with Glide
Code review and apply changes requested
Merge branch new_arch/uploads_screen into new_arch/synchronization
The text was updated successfully, but these errors were encountered:
From a development point of view, it would be great to show a UploadListFragment within any activity. For example, with the current bottom navigation bar we need to create a new activity just to show the fragment. It would be great to simply replace one fragment with another.
At the moment, there are so many dependencies to open UploadListFragment:
UploadListFragment extends ExpandableListFragment which extends ExtendedListFragment.
UploadListFragment is created inside UploadListActivity which extends FileActivity which extends DrawerActivity
TASKS
In Progress
,n items in progress
, Cancel all)The text was updated successfully, but these errors were encountered: