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
{{ message }}
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.
Since we will add the bluetooth as the secondary method next step, we need to build more lists, building more similar adapters is not a good idea.
Our application has many similar list/recycler views, we don't need so many adapters actually, we can build our own view types or using some open source multiple-types lib like MultiType.
I think both Activity and Fragment are actually View objects, including RecyclerView’s Adapter, so I want to tidy them up a bit. Like putting them in a ui package, that will make the code structure clearer, and this step is necessary if we are going to use the MVVM structure or MVP in the future.
Expected behavior
Simplify the adapter code to make it easier to update the UI next.
Other information
@opendatakit-bot claim
The text was updated successfully, but these errors were encountered:
huangyz0918
changed the title
[Refactor] Refactor the adapters using viewtype
[Refactor] Refactor the UI packages according to their function
May 29, 2019
Problem description
This is a refactor work related to the views.
Why we need this refactor
I think both Activity and Fragment are actually View objects, including RecyclerView’s Adapter, so I want to tidy them up a bit. Like putting them in a
ui
package, that will make the code structure clearer, and this step is necessary if we are going to use the MVVM structure or MVP in the future.Expected behavior
Simplify the adapter code to make it easier to update the UI next.
Other information
@opendatakit-bot claim
The text was updated successfully, but these errors were encountered: