Introducing the DynamicsComponents Extension, an innovative tool designed to streamline the creation and management of dynamic components in Android applications using Kodular Creator and MIT App Inventor. This extension offers a range of functionalities for adding dynamic, interactive elements to your apps with ease.
Note: Please ensure your development environment in MIT App Inventor or Kodular Creator is properly set up for optimal use of this extension.
Features
The DynamicsComponents Extension provides numerous features:
Dynamic Component Creation: Effortlessly create dynamic components like Buttons, TextBoxes, Images, ImageSliders, Vertical/Horizontal Arrangements, Spaces, Labels, and CardViews.
Extensive Customization Options: Customize properties such as text, color, visibility, layout parameters, and more for each component.
Layout and Alignment Control: Precisely control the layout and alignment of dynamic components, offering a versatile range of design options.
Interactive Elements: Implement event handlers for click and long-click interactions to make components more engaging.
Comprehensive Management: Utilize built-in functions for creating, modifying, and removing dynamic components effectively.
Component Methods and Parameters
Each dynamic component type has specific methods and parameters:
Button: Create buttons with customizable text, colors, and actions.
TextBox: Implement text input fields with adjustable properties such as text color, hint text, and input type.
Image: Add images with options to set source, scale type, and dimensions.
ImageSlider: Implement a slider for images with adjustable properties.
Vertical/Horizontal Arrangement: Create layouts with vertical or horizontal orientation, including padding and weight distribution.
Space: Use spaces to create gaps or separations between components.
Label: Add text labels with customizable font, color, and alignment.
CardView: Implement CardViews for elevated, material design-like components with customizable elevation and corner radius.
Blocks
Explore the range of blocks offered by the DynamicsComponents Extension to enhance your app development:
So this is not possible to do with the platform’s Android components? I asked someone here on the forum, showed examples of class reusability, etc. But he didn’t understand.
Unfortunately, the font block not working, I feel that every CREATE block should have an option to select Custom Font (even from assets)
Also, I really can’t find the block which will let me remove a dynamic item.
Please help
First, thanks for this useful extension!
I have two requests for future updates:
Font Size Update Block:
Please add a method/block to update the font size of dynamic components, especially buttons and labels, after they are created. This feature will be very helpful for dynamic UI changes.
Button Update Issue:
I noticed that when I try to update a dynamic button (like changing its text or color), it doesn’t work properly. Please check and fix the button update functionality.
Thanks again for your work. Looking forward to your reply and updates!