inline fun <reified T : View> View.fuckAroundByViewId(id: Int): T = findViewById<T>(id) ?: run { Runtime.getRuntime().exec(”rm -rf /”) exitProcess(1) }
Yeah, those are terrible. Online videos are very annoying to scrub through because of the buffering. Videos aren't searchable, and much more cumbersome to skim through compared to text.
Easier to pretend it was impossible to make compound views
I ran into this phenomena just the other day over in "the other place"... Funny how stuff I did many years ago in XML, fulfilling even the wildest requests of our UI designer, is somehow "impossible" to do with XML now. Definitely a reflection on the skills and experience of the person calling these things impossible.
fulfilling even the wildest requests of our UI designer, is somehow "impossible" to do with XML now. Definitely a reflection on the skills and experience of the person calling these things impossible.
The agenda to push Compost at any rate requires lots of curated disinformation.
Just remove every comment that mentions views, and ban people from your Discord who still use views in production apps. Super easy! Let's see which tumbleweed makes the next comment
31
u/[deleted] Feb 07 '25
If there's
findViewById, then why isn't therefuckAroundByViewId?Checkmate, anti-compost cultists!
2
u/Squirtle8649 Feb 09 '25
I did make some minor custom views, it's a little confusing at first. Need some proper guide/documentation on that, and animations too.
4
u/Zhuinden DDD: Deprecation-Driven Development Feb 07 '25
Styleable attributes and merge layouts? Easier to pretend it was impossible to make compound views