vahitkeskin / JetpackComposeStackoverflowClone

Jetpack Compose component box.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jetpack Compose Stackoverflow Clone


I tried to make Jetpack Compose project belonging to Stackoverflow. I hope you will like it.


1 image 2 image 3 image 4 image
5 image 6 image 7 image 8 image
9 image 15 image 15 image 12 image
13 image 14 image 10 image 11 image
  • Jetpack Compose


    Developer Android - Jetpack Compose


    • Jetpack Compose is Android’s recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.

      Everything Is AWESOME


      My IDE
  • Flipper
    • Flipper is a platform for debugging iOS, Android and React Native apps. Visualize, inspect, and control your apps from a simple desktop interface. Use Flipper as is or extend it using the plugin API. (Note: The device on the right does not belong to Flipper, I am using a device mirroring library called scrcpy. for detailed information. Macbook's feature to get the flipper to the right.)


      Facebook - Flipper
  • Chucker
    • Chucker simplifies the inspection of HTTP(S) requests/responses fired by your Android App. Chucker works as an OkHttp Interceptor persisting all those events inside your application, and providing a UI for inspecting and sharing their content.
    • Apps using Chucker will display a notification showing a summary of ongoing HTTP activity. Tapping on the notification launches the full Chucker UI. Apps can optionally suppress the notification, and launch the Chucker UI directly from within their own interface.


      chucker-multiwindow
  • DataStore
    • Jetpack DataStore is a data storage solution that allows you to store key-value pairs or typed objects with protocol buffers. DataStore uses Kotlin coroutines and Flow to store data asynchronously, consistently, and transactionally.
    • If you're currently using SharedPreferences to store data, consider migrating to DataStore instead.


      1_3QAk_xrVEusv3mXLwfLNvw
  • Flows on Android
    • In coroutines, a flow is a type that can emit multiple values sequentially, as opposed to suspend functions that return only a single value. For example, you can use a flow to receive live updates from a database.


      flow
  • Selecting Colors with the Palette API
    • Good visual design is essential for a successful app, and color schemes are a primary component of design. The palette library is a support library that extracts prominent colors from images to help you create visually engaging apps.
    • You can use the palette library to design layout themes and apply custom colors to visual elements in your app. For example, you can use a palette to create a color-coordinated title card for a song based on its album cover or to adjust an app’s toolbar color when its background image changes. The Palette object gives you access to the colors in a Bitmap image while also providing six main color profiles from the bitmap to help inform your design choices.


      palette
  • Dependency injection with Hilt
    • Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project. Doing manual dependency injection requires you to construct every class and its dependencies by hand, and to use containers to reuse and manage dependencies.
    • Hilt provides a standard way to use DI in your application by providing containers for every Android class in your project and managing their lifecycles automatically. Hilt is built on top of the popular DI library Dagger to benefit from the compile-time correctness, runtime performance, scalability, and Android Studio support that Dagger provides. For more information, see Hilt and Dagger.
    • This guide explains the basic concepts of Hilt and its generated containers. It also includes a demonstration of how to bootstrap an existing app to use Hilt.


      hilt
  • Kotlin coroutines on Android
    • A coroutine is a concurrency design pattern that you can use on Android to simplify code that executes asynchronously. Coroutines were added to Kotlin in version 1.3 and are based on established concepts from other languages.
    • On Android, coroutines help to manage long-running tasks that might otherwise block the main thread and cause your app to become unresponsive. Over 50% of professional developers who use coroutines have reported seeing increased productivity. This topic describes how you can use Kotlin coroutines to address these problems, enabling you to write cleaner and more concise app code.


      download
  • Animation
    • Jetpack Compose provides powerful and extensible APIs that make it easy to implement various animations in your app's UI. This document describes how to use these APIs as well as which API to use depending on your animation scenario.

      ezgif com-gif-maker
1  gif home screen and detail open chucker 2  gif questions full alert click close open hf
3  gif users and new user search 4  gif questions screen time 10 secs wait time finish
5  gif questions screen switch button and data store saved 6  gif questions screen item scroll and item detail code zoom
7  gif new search and vahit keskin post detail open