Menu

Building a Firestore-Backed Gardening Storefront & Real-Time Community Feed in Android (Kotlin, Coroutines, Firestore)
📰

Building a Firestore-Backed Gardening Storefront & Real-Time Community Feed in Android (Kotlin, Coroutines, Firestore)

DEV Community: kotlin·Deepsy Dev·8 days ago
#5cuPcXuI
Long article (1482 words) — no AI summary yet.
Reading 0:00
15s threshold

In Nidus Flora ( v1.0.0-beta ), I built a gardening companion for home and urban growers across six independent modules:

Plant disease checks

A multilingual chat assistant

A plant care calendar

Local weather tracking

A community feed

Store section

Keeping each feature decoupled lets me test and ship individual modules without coupling unrelated state across the app. In this post, I'll walk through how two independent modules work under the hood in Kotlin: the Firestore-backed store module ( StoreFragment , StoreViewModel , StoreRepository , FirestoreSeeder , and StoreAdapter ) and the real-time community module ( CommunityFragment , BaseFeedFragment , CreatePostFragment , CommentsFragment , CommunityViewModel , CommentsViewModel , CommunityRepository , and CommentsRepository ), including real edge cases hit in the code.

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.