/YoPic

a demo for practice based on Jetpack architecture and UnSplash API

Primary LanguageKotlinApache License 2.0Apache-2.0

YoPic

A wallpaper gallery application on Android platform, powered by Unsplash API. Display photos from Unsplash, Providing download, set as wallpaper and share features.

YoPic use Kotlin & Jetpack to develop.

How to build

create new file unsplash_keys.json in main/assets, fill in your unsplash app keys:

{
  "access_key": "your Unsplash app access_key",
  "secret_key": "your Unsplash app secret_key",
  "app_name": "your Unsplash app name"
}

you can register as unsplash developers and create a new app at this link to get your own keys.

Dependencies

YoPic is based on Jetpack:

  • DataBinding
  • Lifecycle
  • LiveData
  • Navigation
  • Room
  • ViewModel
  • WorkManager

And some other Android Open Source libraries:

Screenshots

image host image host image host image host image host image host

License

Copyright 2019 yueban

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.