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
Looks like we'll be able to handle keyboard visibility via Insets more casually. And a bit more on that on Twitter.

#android #insets #keyboard
Good one: this document describes which languages Fuchsia supports. Short summary:
- C - platform βœ…, end-developers βœ…
- C++ - platform βœ…, end-developers βœ…
- Dart - platform βœ…, end-developers βœ…
- Rust - platform βœ…, end-developers ❌
- Go - platform ❌, end-developers ❌
- Python - platform βœ…, end-developers ❌
 
#fuchsia #google #language
@MightySeal shared an interesting link: looks like a much more convenient and typesafe wrapper for the whole startActivityForResult thing is coming soon.
 
#activity #google
Check out this JEP. They propose to enhance instanceof so it can be used like this:
if (obj instanceof String s) {
    // can use s here
} else {
    // can't use s here
}

 
#java #jep #instanceof
Records (kind of data classes for Java) continue to evolve and it's great! JEP 384 is a second iteration based on the first preview feedback.
 
#java #records #jep
Check out the current state of Project Loom (lightweight threads, "virtual threads" as they call them) in Java.
 
#java #loom #coroutine
A short post on using post and postDelayed to remind you that there is also the removeCallbacks method and a thing called ViewTreeObserver.
 
#view #handler
@themishkun shared with us a controversial post that perfectly matches this channel. Author tried to make a few changes to a project that wasn't being maintained for some time. In an instant Gradle and Android Studio drove him mad.
 
#ide #studio #gradle