material-foundation / material-remixer-android

Remixer for Android. Live adjustment of app variables.
Apache License 2.0
774 stars 54 forks source link

Add types to remixer core. #83

Closed miguelandres closed 7 years ago

miguelandres commented 8 years ago

This adds a DataType class to remixer_core that lets you model types that can be manipulated by RemixerItems.

Types must be registered with the Remixer Instance and their default UI widget as well. These registrations allow us to refactor the logic to be more robust.

In a future PR these data types will be merged with remixer_storage's SupportedDataType, thus providing an easier path for extension.

Ultimately types make Remixer more robust altogether:

codecov-io commented 8 years ago

Current coverage is 66.38% (diff: 52.04%)

Merging #83 into develop will increase coverage by 0.23%

@@            develop        #83   diff @@
==========================================
  Files            44         46     +2   
  Lines          1164       1190    +26   
  Methods           0          0          
  Messages          0          0          
  Branches        152        150     -2   
==========================================
+ Hits            770        790    +20   
- Misses          334        340     +6   
  Partials         60         60          

Powered by Codecov. Last update 56f688a...c3ea38a