RecyclerView

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

A new component


Properties

You can set the below properties in the UI part of the builder.

  • HeihMargin - it's a four value which is set to 0,0,0,0 by default.
  • HeihPadding - it's a four value which is set to 0,0,0,0 by default.
  • ListType - it's a choices value which is set to none by default.
  • MarginBottom - it's a non negative float value which is set to 0 by default.
  • MarginLeft - it's a non negative float value which is set to 0 by default.
  • MarginRight - it's a non negative float value which is set to 0 by default.
  • MarginTop - it's a non negative float value which is set to 0 by default.
  • PaddingBottom - it's a non negative float value which is set to 0 by default.
  • PaddingLeft - it's a non negative float value which is set to 0 by default.
  • PaddingRight - it's a non negative float value which is set to 0 by default.
  • PaddingTop - it's a non negative float value which is set to 0 by default.
  • Visible - it's a visibility value which is set to true by default.
  • XmlResource - it's a asset value which is set to blank by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

GridColumnCount

Property for GridColumnCount


Height

Specifies the vertical height of the NiotronRecyclerView, measured in pixels.


HeightPercent

Specifies the vertical height of the NiotronRecyclerView as a percentage of the height of the Screen.


ListType

Property for ListType


MarginBottom

Property for MarginBottom


MarginLeft

Property for MarginLeft


MarginRight

Property for MarginRight


MarginTop

Property for MarginTop


PaddingBottom

Property for PaddingBottom


PaddingLeft

Property for PaddingLeft


PaddingRight

Property for PaddingRight


PaddingTop

Property for PaddingTop


Visible

Specifies whether the NiotronRecyclerView should be visible on the screen. Value is true if the NiotronRecyclerView is showing and false if hidden.


Width

Specifies the horizontal width of the NiotronRecyclerView, measured in pixels.


WidthPercent

Specifies the horizontal width of the NiotronRecyclerView as a percentage of the width of the Screen.


XmlResource

Property for XmlResource



Methods

You can set the below method blocks in the blocks section of the builder.

AddClickListener

Method for AddClickListener

AddComponentInPosition

Method for AddComponentInPosition

AddLongClickListener

Method for AddLongClickListener

GetComponent

Use this block to get component for Any Component, It Supports Label,Button,Image,Switch,CheckBox,Textbox

RemoveComponentFromInPosition

Method for RemoveComponentFromInPosition

SetListLength

Method for SetListLength


Events

You can set the below event blocks in the blocks section of the builder.

Click

Event for Click

ItemAdded

Event for ItemAdded

LongClick

Event for LongClick

Scroll

Event for Scroll