Skip to content

v1.1b2

Pre-release
Pre-release
Compare
Choose a tag to compare
@thuytrinh thuytrinh released this 21 Mar 11:46
· 986 commits to develop since this release

TripKit's 'Configs' exposed a factory to initialize Co2Preferences that helps specify CO2 of some transports. Co2Preferences has a default implementation namely DefaultCo2Preferences that stores and queries CO2 preferences via SharedPreferences. However, if you aren't satisfied with it, you can spawn a new implementation. For usage of DefaultCo2Preferences, please refer to this DefaultCo2PreferencesTest.