Marc (34) [Avatar] Offline
#1
Hi,
On page 294 you say "There are two types of these UI elements - views (not to be confused with
MVVM views) and view groups. Views are widgets - UI controls that users can interact
with, such as buttons and text boxes."

Does it make sense to use term layout instead of "view group" and widget instead of "view".
I'm extremely new to Xamarin/Android but I think I seen those terms used elsewhere.

Thank you for a GREAT book,
M.
Jim Bennett (88) [Avatar] Offline
#2
Layouts are also axml files in the layout resource folder, so to avoid confusion I've used the term view groups. They do derive from the ViewGroup class. Same with widgets and other controls - these derive from View, and not all of them are in the widgets namespace. I've tried to avoid confusion and keep consistency.