ndefeijter / flickr-search-android Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Add following details to the card:
The space where the action bar should be isn't filled.
The technique we're trying to implement is called 'immersive full screen'. See here for more info: https://developer.android.com/training/system-ui/immersive.html
And here for an example: https://developer.android.com/samples/ImmersiveMode/src/com.example.android.immersivemode/ImmersiveModeFragment.html
Proposed solution with regards to resizing:
https://futurestud.io/blog/picasso-image-resizing-scaling-and-fit
{"stat":"fail","code":3,"message":"Parameterless searches have been disabled. Please use flickr.photos.getRecent instead."}
http://ux.stackexchange.com/questions/76493/material-design-persistent-search-with-navigation-drawer
http://stackoverflow.com/questions/35068318/android-persistent-search-bar-in-toolbar
That is two toolbars, one set as the support action bar for the activity (with elevation of 0dp) and one below it with 4dp elevation and layout_margin of 16dp. The values here I am assuming, but I think are right. The widget that controls the searching is a SearchView which is a menu item in the second toolbar. โ Lucas Crawford Jan 28 at 17:49
Styling: http://android-developers.blogspot.nl/2014/10/appcompat-v21-material-design-for-pre.html
Remove unused features:
Make sure to check the guides of the libraries we're using.
For showing progress when loading 'more' #8. Not for showing progress during pull-to-refresh.
Too many files are currently under version control.
Otherwise, the items in the list "jump around" while scrolling / loading the images.
For now, crop the images to fill the image item.
Using Retrofit.
Retrofit mock server: https://github.com/square/okhttp/tree/master/mockwebserver
Request certain photo sizes: https://www.flickr.com/services/api/misc.urls.html
Relevant APIs:
<photos page="2" pages="89" perpage="10" total="881">
<photo id="2636" owner="47058503995@N01"
secret="a123456" server="2" title="test_04"
ispublic="1" isfriend="0" isfamily="0" />
<photo id="2635" owner="47058503995@N01"
secret="b123456" server="2" title="test_03"
ispublic="0" isfriend="1" isfamily="1" />
<photo id="2633" owner="47058503995@N01"
secret="c123456" server="2" title="test_01"
ispublic="1" isfriend="0" isfamily="0" />
<photo id="2610" owner="12037949754@N01"
secret="d123456" server="2" title="00_tall"
ispublic="1" isfriend="0" isfamily="0" />
</photos>
https://github.com/junit-team/junit4/wiki/Categories
Example:
Test using Espresso and run on Firebase test lab https://firebase.google.com/docs/test-lab/
Note that Android Studio contains a "Espresso Test Recorder"!
Record Espresso UI tests simply by using your app as a normal user. As you click through your app UI, reusable and editable test code is then generated for you. You can run the generated tests locally, in your Continuous Integration environment, or in Firebase Test lab.
http://android-developers.blogspot.nl/2016/05/android-studio-22-preview-new-ui.html
Because currently, images are cropped (#33).
Dimensions can be obtained using the 'extras' field in the 'search request:
https://www.flickr.com/services/api/flickr.photos.search.html
extras (Optional)
A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o
Don't know if it is currently offered by the Flickr API though...
- loading indicator
- error indicator
Just show a highlighted background.
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.