Kotlin Context Receivers Made Easy!

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024

Комментарии • 5

  • @DanielThirion
    @DanielThirion 3 месяца назад

    Quite a clear video, thank you

  • @Alchemist10241
    @Alchemist10241 6 месяцев назад

    This tip is very useful specially when you want to provide a context for your unit tests I think

  • @ChrisAthanas
    @ChrisAthanas 6 месяцев назад +2

    Using android Context and the Kotlin Context is far too confusing
    This video is a good topic but needs to be redone without using Android Context
    A custom class would be better and appropriate example

    • @CharfaouiYounes
      @CharfaouiYounes  6 месяцев назад

      Thanks for your feedback Chris, Will work on another example!.

    • @Alchemist10241
      @Alchemist10241 6 месяцев назад

      without context receivers creating general extension functions would be a nightmare, generics doesn't help either