Use the Kotlin create the sample.
Using the Flickr API shows the photo.
- Create Flickr api key.
- Add a flickr api key
local.properties
.- flickrApiKey="Flickr api key"
- buildToolsVersion = 24.0.2
- compile sdk version = 24
- Target sdk version = 24
- Min sdk version = 16
- Android studio 2.2
- Base library
- thdev support base version = 1.0.4
- Kotlin library
- Kotlin version = 1.0.4
- Android support library
- support libraryVersion = 24.2.1
- constraint layout version = 1.0.0-alpha8
- Image library
- Glide version = 3.7.0
- Network library
- retrofit version = 2.1.0
- okhttp version = 3.3.1
- ReactiveX library
- rxAndroid = 1.2.1
- rxJava = 1.1.6
Copyright 2016 Tae-hwan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.