EyeSeeTea / pictureapp

Mobile application designed to report cases of malaria (to a DHIS2 server)
GNU General Public License v3.0
4 stars 4 forks source link

Maintenance refactor from listview to recyclerview #2404

Closed xurxodev closed 5 years ago

xurxodev commented 5 years ago

:pushpin: References

:tophat: What is the goal?

Improve scroll in survey list using recycler view with view holder

:gear: branches

app: Origin: maintenance-refactor_from_listview_to_recyclerview Target: v1.4_connect bugshaker-android: Origin: downgrade_gradle_version EyeSeeTea-sdk: Origin: Development

:memo: How is it being implemented?

I have created a new fragment SurveysFragment with a recycler view I have implemented a delete survey action by swipe in RecyclerView

Note: DashboardAdapterStrategy is the old adapter login to render surveys item, I have removed the content but I can not remove it to avoid build problems.

:boom: How can it be tested?

Use Case 1: Create many surveys and the scroll should be smooth Use Case 2: Delete by swipe should work

:floppy_disk: Requires DB migration?

:art: UI changes?