Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
Check out this long read about the no code approach. You'll find good and bad cases, useful tools and some examples of automation.
 
#nocode
Paging 3 library is out in the alpha channel. Updates include list separators support and filter / map operators.
The strange thing here is the following highlight: "Automatically requests the correct next page when the user scrolls to the end of the loaded data". I thought this whole library is about it and it should work correctly from day one.
 
#jetpack #paging #library
setCurrentScreen method in Firebase Analytics is now deprecated. You're free to track the screen_view event whenever you like.
 
#google #firebase #analytics
Google introduces a replacement for SharedPreferences - DataStore.
This thing can handle errors, knows how to work in a non-blocking way and even has transactions! Moreover, now you can store protobuf-serialized typed objects.
Looks very promising, I'm looking forward to a stable release.
 
#preferences #datastore #protobuf
A nice tutorial on how to build your very own daemon. I was surprised to learn that single fork() invokation is not enough.
 
#unix #daemon #c
In Android 11 ART can update class layout on-the-fly. It can be used with features like Apply Changes in Android Studio. This thing is called Structural Class Redefinition and you'll find a bunch of interesting details in the post.
 
#art #studio #ide
After a long day of fighting RecyclerView and UI thread it’s always nice to just sit, relax, and learn how to build an async ViewHolder creator using Kotlin Channels.

#recycler #async #channel
Working with timestamps and timezones is almost always a hassle. Moreover, SQLite doesn’t have a dedicated type to store such values. However, there are some built-in functions to simplify such tasks. In this post you’ll find a good example of using them in a real production app.

P.S. Here you’ll find a funny video about general problems with dates, time and timezones.

#sqlite #db #date