Initial v0.1.1 scaffold

- Multi-module Android project: app/ (entry point), composeApp/ (UI),
  core/domain/ (pure-Kotlin interfaces), core/data/ (ObjectBox-backed
  repository).
- Privacy-first: no INTERNET permission, no analytics, auto-backup
  disabled (data_extraction_rules.xml excludes all domains).
- AGPL-3.0 licensed with full LICENSE + NOTICE files.
- Material 3 UI with dynamic color on Android 12+, dark/light theme
  follows system.
- v0.1.1 polish:
    * Editor text field shrinks above the soft keyboard (Scaffold
      contentWindowInsets union(systemBars, ime) + windowSoftInputMode
      adjustResize).
    * List cards now render title (first non-empty line, titleMedium)
      plus abbreviated body preview (max 2 lines, ellipsised). Empty
      notes display as 'Untitled'.
    * versionCode 1 -> 2, versionName 0.1.0 -> 0.1.1.
This commit is contained in:
Incido Developer committed 2026-08-14 22:51:59 +12:00
commit 1477e2426d
44 files changed
+2880

No files matched your search

@@ -0,0 +1,17 @@
package org.incido.compose.di
import android.content.Context
import io.objectbox.BoxStore
import org.incido.data.ObjectBoxStore
import org.incido.data.repository.NoteRepositoryImpl
import org.incido.domain.repository.NoteRepository
/**
* Hand-rolled DI container. Replaces Hilt/Dagger for v0.1 — keeps the
* build simple. Constructed once from `Application.onCreate()` and
* stored as a singleton (see `IncidoApp` in the `:app` module).
*/
class AppContainer(context: Context) {
val boxStore: BoxStore = ObjectBoxStore.init(context)
val noteRepository: NoteRepository = NoteRepositoryImpl(boxStore)
}