Mathias Hampen (@mathiashampen) 's Twitter Profile
Mathias Hampen

@mathiashampen

Senior Engineer @LEGO_Group

ID: 994579855269416960

calendar_today10-05-2018 14:08:10

13 Tweet

32 Followers

234 Following

Nick Butcher (@crafty) 's Twitter Profile Photo

Most images in your apps should be vectors. They're small 🗜️ sharp 🔪 and animatable 🕺. Give me 25 minutes and I'll teach you everything you need to know about Android's vector support:

LEGO (@lego_group) 's Twitter Profile Photo

Hey Disney fans, gosh what a treat! Check out these awesome Mickey Mouse & Minnie Mouse buildable characters 😍 lego.build/MickeyMinnieRe…

Kotlin by JetBrains (@kotlin) 's Twitter Profile Photo

If you want to store some nullable values in a non-nullable list (or set), you don’t have to null-check manually. Instead, use the listOfNotNull() function (and, starting with Kotlin 1.4, setOfNotNull()). #KotlinTips

Nick Butcher (@crafty) 's Twitter Profile Photo

Hope that everyone has been enjoying the #11WeeksOfAndroid d.android.com/11weeks The final or ultimate week starts tomorrow: UI week. We've got some great material to share with you. So compose yourselves and stay tuned to Android Developers 👀

Android Studio (@androidstudio) 's Twitter Profile Photo

ConstraintLayout 2.0 is now out 🥳🎉 💪Better runtime API to build up layouts ⌗ New layout mechanisms such as Flow 🌀 MotionLayout, powerful subclass of ConstraintLayout that you can use to create refined motion 👇And more! androidstudio.googleblog.com/2020/08/constr…

Sam Edwards (@handstandsam) 's Twitter Profile Photo

PX - Pixel on the Screen DP - Density Pixel (A way on Android to adapt to lower/higher resolution screens) To convert between PX to DP in Jetpack Compose: CORRECT: with(AmbientDensity.current) { pxVal.toDp() } INCORRECT: pxVal.dp (This Doesn't convert based on screen size)

PX - Pixel on the Screen
DP - Density Pixel (A way on Android to adapt to lower/higher resolution screens)

To convert between PX to DP in Jetpack Compose:

CORRECT:
with(AmbientDensity.current) { pxVal.toDp() }

INCORRECT: 
pxVal.dp
(This Doesn't convert based on screen size)
Android Developers (@androiddev) 's Twitter Profile Photo

#JetpackCompose 1.0 is ready and waiting for you. See how Compose makes it faster and easier to build beautiful, high quality apps. 🤖🎉 goo.gle/think-compose 🎉🤖