umtblbl Member Jul 8, 2019 #1 Hello, How do I access a layout component from within a class? For example, a button from within the User class?
Hello, How do I access a layout component from within a class? For example, a button from within the User class?
D Deleted User Guest Jul 8, 2019 #2 Use findViewById() to get a reference to a UI component e.g. Button.