Skip to content

Instantly share code, notes, and snippets.

View maheswaranapk's full-sized avatar
✌️
Evolving

Mahes Sivakumar maheswaranapk

✌️
Evolving
View GitHub Profile
{
tag: "div", // HTML Tag Name
props: {...}, // Tag Attributes
children: [{ // Array of Children
tag: "div",
props: {...},
children: [...]
}
...]
}
class CircleIndicator : View {
private val paint = Paint()
private var centerX = 0F;
private var centerY = 0F;
private var radius = 0F;
constructor(context: Context) : super(context)
function createVariable() {
x = 10;
}
function updateVariable() {
x++;
};
function printVariable() {
console.log(x)