~/talk

The lesser-known world of Spans

links:none on file

Explains that Android uses Spannable types (SpannableString, Spanned) so getString strips spans while getText can return a Spanned, details that Spannable.setSpan accepts any object and spans can overlap. Describes the four flags and that inclusive/exclusive flags control span growth with concrete editor and cursor examples, shows links use URLSpan, spellcheck and meta keys inject spans, demos: per-letter animations via ObjectAnimator, a shimmer via a custom span, a flatten-layout trick, and a small library BetterLinkMovementMethod fixes touch bounds and highlighting.

AI-written summary · about

  1. 0:00Introduction to Spans
  2. 2:06HTML tags and spans quiz
  3. 5:17How spans work internally
  4. 7:32Defining spans beyond styling
  5. 10:21Span flags and behavior
  6. 13:10Android uses of spans
  7. 16:02Animating text with spans
  8. 18:59Flattening layouts with spans
  9. 20:28Suggestion spans for user input
  10. 20:49Better link movement method library
  11. 22:40Closing and resources
~/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.