Interface IViewContainer
Defines interface with methods which allows to add/remove views from this container
Namespace:
Assembly: .dll
Syntax
public interface IViewContainer extends IView, ICleanable
Methods
safeAdd(View view)
Adds view into this view container
Declaration
public abstract void safeAdd(View view)
Parameters
Type | Name | Description |
---|---|---|
android.view.View | view | The view to add |
safeAdd(View view, ViewGroup.LayoutParams layoutParams)
Adds view into this view container
Declaration
public abstract void safeAdd(View view, ViewGroup.LayoutParams layoutParams)
Parameters
Type | Name | Description |
---|---|---|
android.view.View | view | The view to add |
android.view.ViewGroup.LayoutParams | layoutParams | The layout params for view to add |
safeRemove(View view)
Removes view from this view container
Declaration
public abstract void safeRemove(View view)
Parameters
Type | Name | Description |
---|---|---|
android.view.View | view | The view to remove |