~/talk

All you need is isolating the domain ...

Talkat DroidKaigi 2018 · 2018-02-08..02-09· [android, software-architecture]
name:yanzm
links:none on file
slides:none on file

Concrete technique: extract domain into a separate Gradle module so dependency direction is enforced, unit tests run easily and domain rebuilds are smaller and faster. Model common concepts as immutable value objects using Kotlin data class or Java final fields / AutoValue and LocalDate for dates. Applied across 5 app projects that are each >1 year old; refactoring reveals only 5 item types vs 16 boolean combinations, clarifies ubiquitous language, reduces UI logic, and improves testability.

AI-written summary · about

  1. 0:00Introduction
  2. 8:30Isolate the domain in Android apps
  3. 14:10Value objects in domain models
  4. 23:40Implementing value objects
  5. 31:22Domain model anemia and refactoring
  6. 37:05Entities and identity
  7. 42:41Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.