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 ๐ŸŽ‰๐Ÿค–