Skip to content

suraj341/Daily-Stock-View

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Real-Time Stock Updates in Jetpack Compose

A modern Android app demonstrating real-time stock price updates using:

  • Kotlin Flow
  • Coroutines
  • Conflate (Backpressure handling)
  • StateFlow
  • Jetpack Compose
  • LazyColumn optimization

This project shows how to build high-performance real-time UI that updates frequently without lag, memory issues, or unnecessary recomposition.


🎬 Watch Full Tutorial (YouTube)

👉 https://www.youtube.com/watch?v=myFcmi8yfLM

Learn step-by-step:

✔ How to stream real-time data
✔ How to handle backpressure using conflate()
✔ How to prevent unnecessary recomposition
✔ How to optimize LazyColumn rendering
✔ Clean architecture with Repository + ViewModel


✍️ Medium Article

👉 https://medium.com/droidstack/building-real-time-stock-updates-in-jetpack-compose-efeb973110b4


🧠 What This Project Demonstrates

1. Real-Time Data Streaming

Continuous stock price updates using Kotlin Flow.

2. Backpressure Handling

Using conflate() to drop outdated emissions and keep UI smooth.

3. Efficient UI Updates

Using:

  • StateFlow
  • Immutable models
  • LazyColumn key diffing

Only changed rows recompose.

Also follow:

⭐ Personal Medium: https://medium.com/@kamaldeepkakkar
⭐ DroidStack Publication: https://medium.com/droidstack


💼 Connect With Me

LinkedIn Profile:
👉 https://www.linkedin.com/in/kamal-kakkar-13ab2773

DroidStack LinkedIn:
👉 https://www.linkedin.com/company/110906249

About

Show Stock List

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Kotlin 100.0%