I have 2 CUstomListViews in Activity.
If one is empty I want to hide it and change height of the other one to 100% for example.
My tries looks like this
first line should change height of the first list according to number of items - seems to doesnt work
second line move TOP of second list by 52dips * number of items in first list - seems to work
What is the correct approach ?
If one is empty I want to hide it and change height of the other one to 100% for example.
My tries looks like this
B4X:
MojeZakazkyClv.AsView.Height = 52dip * i
HomeClv.AsView.Top = HomeClv.AsView.Top + 52dip * i
first line should change height of the first list according to number of items - seems to doesnt work
second line move TOP of second list by 52dips * number of items in first list - seems to work
What is the correct approach ?
Last edited: