Is there any replacement of constraintlayout?
# compose
c
Is there any replacement of constraintlayout?
j
Rows and columns can replace constaint layout in definitely most cases
And if you really need constraint layout then just.. use constraint layout, there is one for compose as well
c
I need to create to create a tooltip like this... I have no idea.
j
c
I don't want to use 3rd party library though..
j
then just look up how it's done
it's open source mate
but imho reinventing the wheel is a huge time waste
c
Yeah.. I am just checking PlainTooltipBox, in 1.1.0-beta01 version
j
it's a 3rd party library as well 😄
c
Well, then maybe 4th party..
j
there is no such thing, whether you are using google material library or skydoves library it's always 3rd party. And it's ok, everybody is using 3rd party libraries 😄
just don't be fooled that 3rd party library from google is somehow better than library from the community
very often that's not the case
c
Oh, I see..
j
Just use Popup or wrapped Box where want tooltip :) See https://gist.github.com/amal/aad53791308e6edb055f3cf61f881451 sample
No third party needed for this simple case :)
c
I tested it out and it's like a dialog. For me, it shouldn't disappear even though I click the button.