nickcapurso / metroplanner Goto Github PK
View Code? Open in Web Editor NEWApp which tells you what trains to take and where to transfer to reach a desired destination.
App which tells you what trains to take and where to transfer to reach a desired destination.
Android now has a Geocoder class that will return a list of type Address when given longitude/latitude coordinates. Currently, the app uses the Maps API for Geocoding.
Previously was not included due to size restrictions on ImageViews. At least one other Metro app has an offline map, so we should be able to include this functionality as well (without resorting to using the Gallery app).
Candidate methods for refactoring into multiple, smaller, coupled methods:
Explore the Support Repository and Lollipop specific features, like animations.
Currently, the IncidentsActivity and HistoryActivity both uses a scrollable LinearLayout to display the list of custom view classes. These should be switched over to a RecyclerView (the efficient ListView).
The NetworkTimeout, JSONFetcher, and PlanningModule classes all use Handler references to notify clients of finished events. Alternative method would be to use interfaces and callbacks (which, arguably, would be faster) - need to examine whether this is feasible.
Sticking with Handlers would be good if any of these will be done in background threads in the future (and events are needed to be sent to the UI thread).
Previously, the WMATA API returned stations on a given line in a logical order:
Now, the stations are returned in a order relative to their unique station code, which is not necessarily the logical order (for example, the first station for the red line is Metro Center). The line selection and starting/ending stations are still selected properly.
The code assumes the station list will be in logical order, so now will need to be adjusted to accommodate the changes either by:
The algorithm also relies on the fact that, for the D.C. Metro, all lines intersect every other line at at least one point.
Likely when work begins on this issue, it will be split until multiple, smaller issues.
In API 23, functionality of Apache HTTP Components were brought into the Android APIs and deprecated the former. JSONFetcher still relies on the external API, so switching it over for API 23 will allow us to have a targetSdk level of 23.
Some string constants (used for Toasts or Dialogs) should be moved from the Activities into the strings.xml file for organization and possible future localization.
I found this online and it is pretty awesome because you don't have to go searching for a halfhour just to find an icon. Let me know what you think.
https://github.com/winterDroid/android-drawable-importer-intellij-plugin
Practice information from the "Blending Brand and Material Design" workshop at Android Summit.
Also, need a nicer package name.
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.