Tyander is a sample Android application for meeting and communicating with anime characters. Relying on waifu.im, fakerapi.it and waifuai.com, Tyander allows to pick characters by photo, look through their biography, and chat with them via a simple messenger.
- Kotlin
as programming language
- kotlinx.DateTime for date & time manipulations
- Coroutines as asynchronous and multithreading operations framework
- Dagger Hilt for dependency injection
- XML
for building user interface layouts
- Material Design 3 as user interface design toolkit
- ViewBinding for accessing .xml view hierarchy
- Custom View for building complex user interface elements
- Single Activity Architecture
for user interface structuring
- Fragments for managing user interface destinations
- androidx.Lifecycle for implementing Model-View-ViewModel pattern
- Navigation Component
for navigation
- Safe Args for transferring type-safe data between destinations
- ViewPager 2 for displaying layouts as a stack of pages
- Coil for loading images
- Retrofit 2
for network communication with APIs
- kotlinx.Serialization for JSON parsing
- Scalars Converter for handling raw text responses
- JakeWharton Json Converter for handling JSON responses
- Room for deploying & managing local database
- Preferences DataStore as key-value pairs storage
- Gradle Kotlin DSL for managing build configurations
i.e. what is unique among other samples?
- Custom View for displaying a single chat message
- ViewPager 2 for displaying infinite
characters stack
while searching
- Custom Page Transformer for achieving multiside dragging performed on skip and like actions
- Several ViewTypes for managing both user and character messages within a single RecyclerView adapter
- Retrofit POST request for querying the chat API
- Parallel API requests via async for obtaining picture and biography of the characters simultaneously
MIT License
Copyright (c) 2023 Rostyslav Kopyl
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.