BITS OF B

  • Home

  • Podcast

  • Blog

  • Talks

  • Videos

  • About

  • More

    Use tab to navigate through the menu items.
    • Twitter Icon
    • Facebook Icon
    • LinkedIn Icon
    • Instagram Icon
    • Mar 12, 2019
    • 5 min

    Notify RecyclerView On a Specific Item Update

    Occasionally when working with RecyclerView, we want to be able to notify on a specific update. We want to know the item position in the...
    • Feb 18, 2019
    • 4 min

    Moshi Polymorphic Adapter & Sealed Classes 🔥How to use Moshi Polymorphic Adapter (+Retrofit)

    How to use Moshi Polymorphic Adapter (+Retrofit) to convert Kotlin sealed classes to/from Json I was working on an internal app for our...
    • Sep 16, 2018
    • 5 min

    Who's afraid of Machine Learning? Part 2 : Creating a Machine That Can Learn

    Intro to ML (for mobile developers) Last post gave a general overview of ML and why is our brain provides inspiration for it....
    • Sep 11, 2018
    • 4 min

    Who's Afraid of Machine Learning? Part 1 : What do they all talk about?!?

    Intro to ML (for mobile developers.) Lately, it seems like everyone is talking about AI, ML, DL… When this hype started, I got a little...
    • Feb 2, 2018
    • 3 min

    Clean, Easy & New- How To Architect Your App: Part 5 — List Update

    with Paging Library’s ListAdapter Back to my venues demo app shown on previous posts (part 4, part 3, also check out part 2 and part1...
    • Jan 16, 2018
    • 4 min

    Clean, Easy & New- How To Architect Your App: Part 4 — LiveData Transformations

    How to use map() and switchMap() to easily transform the value received from LiveData, for elegant code. In the architecture I presented...
    • Jun 7, 2017
    • 5 min

    Clean, Easy & New- How To Architect Your App: Part 2 — Persistency

    Implementing Repository class with Room. Previous post suggested an idea for architecting Android app, using the new Android Architecture...
    • May 25, 2017
    • 5 min

    Clean, Easy & New- How To Architect Your App: Part 1

    About a week ago at Google I/O, Google’s Android team announced on a new mindset: it’s time to think about app’s architecture and best...
    • Jan 7, 2017
    • 4 min

    Clean, Easy & New- How To Architect Your App: Part 3 — Network Calls

    This is not exactly a direct continuation for the previous posts with the same title (part1, part2, which I’ll get back to soon hopefully...
    • Dec 10, 2016
    • 4 min

    Android Data Providing Structure: In Summary

    The relationships between SQLite, ContentProvider, ContentResolver Recently I gave a lecture on using SQLite DB and Content Providers. (...
    • Jul 28, 2016
    • 2 min

    Notifications — Part 3 : Going Custom

    Notifications are a very important and powerful tool. Use them correctly — you can significantly increase user engagement. Use them...
    • Jul 24, 2016
    • 2 min

    Notifications — Part 2 : Progress Indicator

    Notifications are a very important and powerful tool. Use them correctly — you can significantly increase user engagement. Use them...
    • Jul 17, 2016
    • 3 min

    Notifications — Part1 : Styling

    Notifications are a very important and powerful tool. Use them correctly — you can significantly increase user engagement. Use them...
    To Constraint, Or Not To Constraint?
    • Jul 3, 2016
    • 2 min

    To Constraint, Or Not To Constraint?

    Creating a great UI experience is a main goal for us as developers. In order to do so, first step is to understand how does the system...
    Layout Once, Layout Twice — Sold!
    • Jul 2, 2016
    • 3 min

    Layout Once, Layout Twice — Sold!

    Pervious post discussed the way Android measure and layout views, before drawing them to the screen. So we know by now that the layout...
    Measure… Layout… Draw!
    • Jun 30, 2016
    • 3 min

    Measure… Layout… Draw!

    Previous post overviewed the phases in the Android rendering process. This time we would focus on the Measure/Layout phase, which...
    Rendering — Phase By Phase
    • Jun 29, 2016
    • 3 min

    Rendering — Phase By Phase

    Creating a great UI experience is a main goal for us as developers. In order to do so, first step is to understand how does the system...
    From View To Pixel
    • Jun 28, 2016
    • 2 min

    From View To Pixel

    Creating a great UI experience is a main goal for us as developers. In order to do so, first step is to understand how does the system...