What is a widget?

I found some conflicting definitions of the term. At http://developer.android.com/reference/android/view/View.html , the author defined widgets as "View" - this is the base class for widgets that is used to create interactive user interface components (buttons, text fields, etc.). .d.) ", which is mainly used to create components of the interactive interface. However, to another question StackOverFlow What exactly defines a" widget "? , the answer was" an application that can be interacted with from the main screen. "My question is what Android point of view, whether the term widget refers to an instrument used used to create ui components or ui components themselves? Can this explain this?

+4
source share
5 answers

When visiting developers, the widget is a subclass of View. Examples of widgets are TextViews, ImageViews, WebViews ...

End-user visits, widgets or application widgets (such as Niek Haarman) are small applications that display any information on the home screen or lock screen, you can find many “application widgets” on Google Play. Weather widgets, financial widgets, electronic widgets ...

+4
source

Widgets is like a piece of a program

Widgets are small applications that can be hosted on the widget host, usually on the home screen or lock screen of your Android device.

. , .

. " " , , .

... .

0

. - .. , textview, imageview .. . , , . ..

- , , ..:)

0

A widget is a stand-alone application that can be embedded into third party sites by any user on a page where they have rights of authorship (for example: a web page, blog, or profile on a social media site). Widgets allow users to turn personal content into dynamic web apps that can be shared on websites where the code can be installed.

0

, - - iPhone. , "-".

-1
source

Source: https://habr.com/ru/post/1545799/


All Articles