🧩 ContributionsView
An extension for MIT App Inventor 2.Developed by Jewel Shikder Jony.

 Specifications
com.jewel.contributionsview.aix (17.5 KB)
 Version: 0.2
 Minimum API Level: 7
 Updated On: 2025-04-08T18:00:00Z
 License: Terms & Conditions
 Built & documented using: FAST v2.8.3
 Uses library: TContributionsView
Event:
ContributionsView has total 1 event.
 ItemClicked
Triggered when an item clicked.

| Parameter | Type | 
|---|---|
| row | number | 
| column | number | 
| level | number | 
Methods:
ContributionsView has total 5 methods.
 CreateView
Configure specific adapter and set a HVArrangement.

| Parameter | Type | 
|---|---|
| arrangement | component | 
| adapter | any | 
 IntArraysAdapter
Use Int two-dimensional array.
- Return type: 
any 

| Parameter | Type | 
|---|---|
| arrays | list | 
 PositionsAdapter
Based on (x,y) position, use it with giving to every item a level, default is level 0.
- Return type: 
any 

| Parameter | Type | 
|---|---|
| totalRow | number | 
| totalColumn | number | 
| xList | list | 
| yList | list | 
| levelList | list | 
 DatesAdapter
You can easily to get a Contributions View like Github.
Its row value is already be set to 7 (days of a week). Date format is: yyyy-MM-dd
- Return type: 
any 

| Parameter | Type | 
|---|---|
| weekCount | number | 
| endDay | text | 
| dates | list | 
| levelList | list | 
 CustomStyleAdapter
Draw a Regular polygon inside the giving Rect area.
- Return type: 
any 

| Parameter | Type | 
|---|---|
| level | number | 
| baseAdapter | any | 
Designer:
ContributionsView has total 9 designer properties.
 CircleMode
- Input type: 
boolean - Default value: 
False 
 ItemWidth
- Input type: 
non_negative_integer - Default value: 
50 
 ItemHeight
- Input type: 
non_negative_integer - Default value: 
50 
 ItemSpace
- Input type: 
non_negative_integer - Default value: 
10 
 ColorEmpty
- Input type: 
color - Default value: 
&HFFE0E0E0 
 ColorL1
- Input type: 
color - Default value: 
&HFFCDE372 
 ColorL2
- Input type: 
color - Default value: 
&HFF7BBD52 
 ColorL3
- Input type: 
color - Default value: 
&HFF389631 
 ColorL4
- Input type: 
color - Default value: 
&HFF1A571B 
Setters:
ContributionsView has total 9 setter properties.
 CircleMode
Enable to use circle mode.
![]()
- Input type: 
boolean 
 ItemWidth
Set item width in non negative integer.
![]()
- Input type: 
number 
 ItemHeight
Set item height in non negative integer.
![]()
- Input type: 
number 
 ItemSpace
Set item space in non negative integer.
![]()
- Input type: 
number 
 ColorEmpty
Set item color.
![]()
- Input type: 
number 
 ColorL1
Set the colorL1.
![]()
- Input type: 
number 
 ColorL2
Set the colorL2.
![]()
- Input type: 
number 
 ColorL3
Set the colorL3.
![]()
- Input type: 
number 
 ColorL4
Set the colorL4.
![]()
- Input type: 
number 
