louiscad
08/28/2019, 7:34 AMispbox
08/28/2019, 9:29 AMlouiscad
08/28/2019, 9:30 AMlouiscad
08/28/2019, 9:31 AMispbox
08/28/2019, 9:32 AMleftTo {
if (user.name.isEmpty) parent.left()
else nameView.right()
}
Also it is definitely cool to have context-aware API. That is a long lasting problem of Android views and layout parameters 🙂ispbox
08/28/2019, 9:37 AMispbox
08/28/2019, 9:39 AMsetTextSize(TypedValue.COMPLEX_UNIT_DIP, 18f)
louiscad
08/28/2019, 10:23 AMispbox
08/28/2019, 4:30 PM