While this openness unlocks great opportunities, with so many unique devices, it can make your life harder as a developer. This openness also enables smart features in cars, watches, and televisions. The openness of the Android platform enables innovation in new mobile form factors like foldable phones. Today, Android powers a rich and open ecosystem of devices serving billions of users around the world. Since its inception, Android has been designed to be the world’s first open and innovative platform for mobile devices. Updates the scrollable contents' dimensions.Posted by Sanat Kamal Bahl, Product Manager, Android Frameworks Gets the scrollable content's width in pixels. Scrolls the content to a specific position. ![]() Gets the scrollable content's height in pixels. Scrolls the content by a specific distance. Notifies the ScrollView that data loading is finished. Locks the UI component until the release(preventScrollBottom) method is called and executes the function passed to the onPullDown property and the handler assigned to the pullDown event. Updates the values of several properties. Use it to access other methods of the UI component.ĭetaches all event handlers from a single event.ĭetaches a particular event handler from a single event. Gets the instance of a UI component found using its DOM node. Refreshes the UI component after a call of the beginUpdate() method. Specifies the device-dependent default configuration properties for this component.ĭisposes of all the resources allocated to the ScrollView instance. Prevents the UI component from refreshing until the endUpdate() method is called. ![]() This section describes the members used to manipulate the UI component. Indicates whether to use native or simulated scrolling. Specifies when the UI component shows the scrollbar. Specifies whether a user can scroll the content with the scrollbar. Switches the UI component to a right-to-left representation.Ī Boolean value specifying whether or not an end-user can scroll the UI component content swiping it up or down. ![]() Specifies the text shown in the pullDown panel displayed when the content is being refreshed. ![]() Specifies the text shown in the pullDown panel displayed when content is scrolled to the bottom. Specifies the text shown in the pullDown panel while pulling the content down to the refresh threshold. Specifies the text shown in the pullDown panel when pulling the content down lowers the refresh threshold. Supported on mobile devices only.Ī function that is executed when the content is scrolled down to the bottom.Ī function that is executed on each scroll gesture.Ī function that is executed each time the UI component is updated. Specifies the global attributes to be attached to the UI component's container element.Ī function that is executed before the UI component is disposed of.Ī function used in JavaScript frameworks to save the UI component instance.Ī function that is executed after a UI component property is changed.Ī function that is executed when the "pull to refresh" gesture is performed. Specifies whether the UI component responds to user interaction. NameĪ Boolean value specifying whether to enable or disable the bounce-back effect.Ī string value specifying the available scrolling directions. An object defining configuration properties for the ScrollView UI component.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |