The hottest Mobile Development Substack posts right now

And their main takeaways
Category
Top Technology Topics
Widget Tricks 19 implied HN points 09 May 23
  1. ListenableBuilder is available in Flutter 3.10 and is used to update specific widgets without rebuilding the entire UI.
  2. ListenableBuilder is useful for objects like TextEditingController, AnimationController, ScrollController, TabController, etc., to enable specific updates based on listener state changes.
  3. ListenableBuilder can be used with any Listenable object, providing a more flexible and convenient way to update UI elements.
Button Pusher 2 HN points 20 Mar 24
  1. Using C++ in Android can offer potential performance gains due to lower-level system access and existing libraries.
  2. Communication between Kotlin and C++ through the JNI comes with a cost, with rough estimates ranging from ~0 to ~104ns on modern devices, and additional costs for operations like sending integer arrays.
  3. For heavier workloads on large amounts of data, utilizing C++ for tasks like sorting an array or modifying elements can lead to significant performance improvements compared to Kotlin.
Better Engineers 0 implied HN points 09 Jul 22
  1. Singletons help ensure that a class has only one instance, which is useful for managing shared resources like a database.
  2. Delegated properties in Kotlin allow you to reuse common behaviors like lazy loading or observing changes without repeating code.
  3. You can create custom delegates to handle unique cases, like ensuring a property can only be assigned once, adding flexibility to your code.
Get a weekly roundup of the best Substack posts, by hacker news affinity: