piskula / fuelup Goto Github PK
View Code? Open in Web Editor NEWAndroid FuelUp application
License: GNU General Public License v3.0
Android FuelUp application
License: GNU General Public License v3.0
because of two 'unit' attributes
button in statistics fragment
start activity with tab swipe views
add other volume units
..to prevent memory leaks
modify the way how to delete or reassign picture of vehicle on EditVehicle screen
Do not show graphs button on same place as add button on other screens.
Align graphs button with action bar. Remove Actionbar menu in this screen
Related to #1
show only last 10 fillups/expenses
When permission is granted, show image options
When createing car, make a choice between imperial and metric units
metric - km, litres, l/100km
imperial - miles, galons, mile per gallon
Use strategy pattern?
To avoid problems with l/100km - miles/gallon always compute consumption in both ways - show user l/100km and also km/l - than only string change is required (no other computations)
bad for performance
add proper date formatting according to Locale to:
e.g. 05/20/2015 20.5.2015
when you choose
Support
When computing fuel consumption
Chart from #24
Consistent naming of layouts, for example
activity_vehicle_add
activity_vehicle_update
...
fragment_fillup_list
...
dialog_vehicle_add
create card view
continuous integration build and deploying public APK file for actual dwnload
improve screen from fuel app 1
1 Open car with UK currency
2 open fill ups
3 I see - volume 7.32 GAL, unit price p 118.1/l, total price 39.32 libra.
I expect it should be 7.32 * 1.181 != 39.32
Find other way - it is not convenient to pass context to every method that needs read resource (for example).
It can cause memory leak
https://stackoverflow.com/questions/987072/using-application-context-everywhere
add few more currencies and proper number formatting, e.g.:
Let user to take a picture of fuel dispenser and parse picture to find - price per volume, volume, total price
average total costs per week
average total costs per month
average total costs per year
average fuel costs per week
average fuel costs per month
average fuel costs per year
average expense costs per week
average expense costs per month
average expense costs per year
average distance per day
average distance per week
average distance per month
average distance per year
Display message saying there is no entry when recycler view list is empty
It shows text Add Expense
Create 3 vehicles
Some units are wrong. Use vehicle getters to get proper units.
Handle fuel consumption for american/uk cars.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.