I have a recyclerview where one of the viewholders holds a composable that is a scrollable list. The nested scrolling here is not working by default resulting on the composable list to not scroll. I have tried using nested scroll connection but it doesn't seem to work for me. how can i produce this behavior?
Related
I've some list of UI items - they placed one under another.
Right now each of this UI items have top space constraint to previous item. Some of items can be hidden according to data received from server.
How should i hide elements in this case so there will be no empty spaces in interface.
P.S I know few ways to do this technically (change top constraints values from code or hide element by "hidden" property), my question is not about how it could but how it should be done.
Setup those UI element in UIStackView.Then when you will hidden them they will not leave empty space.
Inside the UIStackView you also have to use the hidden property of those UI elements.
I have a form in my hands with listbox on it. There was a demand to display horizontal scrollbar for this listbox since users are unable to fully read text in the right column.
Is there any way to do so?
how does it looks
desing of subform
Try to get rid off Layout and use table instead.
It seems to be limitation of layouts. It works if you do not use Layouts.
Here is how my subform looks like:
I am working on iOS native app and when trying to read from tableView/tableCells I have a problem getting the updated values. At the first time i enter the page/screen I can see all cells. But , if i create an action that adds another cell to the table view when I try to get the list of cells I see an empty list.
Also, When i change a subelement in that cell I can't see the changed sub element both in inspector and in the code.
I tried switching to a different page and also changing tabs in that page and reread the table/cell and subelements but it didn't help.
I've had this issue before. There is no actual reload elements kind of function that I've seen. However a workaround I've found that works is to simply find an element that exists and it'll reload the elements after it does that.
For example:
yourMethodThatLoadsNewElements();
driver.findElementBy(pathToElementThatExistedBefore);
driver.findElementBy(pathToElementThatWasJustLoaded);
I'm working on a responsive, full-width layout and I need to do some element processing when the size changes. This has to not be linked to the window, as the size can change without the window size being modified e.g. changing number of columns.
I'm working with AngularDart directives and components and it would be nice to have a directive say, "resizable" which implements such an event for the element.
I've come across the attributeChanged() method in the Dart Element class but don't really know how to tap into that without creating custom elements.
I'm trying to have two lists in a phonegap app on iOS that are scrollable, while there's no bounce, etc. I've set the UIWebBounce to false, and I've trapped the touch events so that only the relevant lists (via element ids) will respond to touch move, but if the list is empty or you're at about the last element of the list, then scrolling the list up scrolls the whole page up. iscroll did not seem to work for me, as it acted very weird in some quick tests.
So, the question is: has anyone gotten a single list or two to be scrollable in PhoneGap/ios while COMPLETELY avoiding scrolls of the whole page, and if so how?