Instead of android:visibility = …long logic..
Kevin Le

Hey, thanks for your response! You are right on all your examples. The funny thing is that I was copying Google examples even!

I know also some developers who use the data binding library only to avoid doing the findViewById and they keep the logic out of the layout. But I think that’s not worth the hassle.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.