Skip to content

🌀 A Pokedex app using custom Navigation system from Aircall

License

Notifications You must be signed in to change notification settings

alizeec/Kotlin-Pokedex

 
 

Repository files navigation


Kotlin Pokedex

Pokedex app built with the navigation from Aircall

Awesome Kotlin License MIT

Screenshots

Home Pokedex Pokedex FAB

Pokedex Search Pokedex Generation Pokemon Info - About

Pokemon Info - Base Stats Pokemon Info - Evolution News Detail

Features used in Pokedex app

  • Use the aircall-navigation to start an activity
  • Use the aircall-navigation to replace a fragment. Done in the detail of a pokemon. This part can obviously be done in the simpler way with a ViewPager. The goal here is just to showcase how to navigate between fragment with this navigation.
  • Use the aircall-navigation to open a BottomSheetFragment
  • Use the aircall-navigation to start an activity for result from an activity
  • Use the aircall-navigation to start an activity for result from a fragment
  • Use the aircall-navigation to navigate between fragment inside a BottomSheetFragment
  • Use the aircall-navigation to open external app like emails, camera, etc... (share feature in NewsDetail)
  • Use the aircall-navigation to propagate event to the activities/fragments in the backstack (change theme feature in Home)

Notes

In this sample, the router is a singleton. In Aircall application we use Dagger to inject it where we need, but the goal here was to show that no external library is required to use it.

Thanks

  • mrcsxsiq I used mrcsxsiq's project and replaced the navigation from architecture component by our own

Design

Other Pokedex Projects

License

All the code available under the MIT license. See LICENSE.

MIT License

Copyright (c) 2020 Alizée Camarasa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

🌀 A Pokedex app using custom Navigation system from Aircall

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%