" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Displaying Label In Crossplatform App Using Alloy With Titanium

Posted on November 23rd, 2015 by Raju Mahato

Introduction : Using Titanium label API with js we can easily add a label to a screen. But today we will see how could we can add a label in an application following Alloy. Alloy provides MVC architecture to make an application where we will have model view and controller. Generally view will contain the […]

Add click event to an element using Alloy with Titanium

Posted on November 23rd, 2015 by Raju Mahato

Introduction : Alloy supports MVC pattern architecture where we can have view, model and controllers by which we can separate UI block and program logic. So here we will see how can we add clock event to an UI element. Description : In order to add click event to an UI element, lets add an  […]

Displaying rows with section in table view using Alloy.

Posted on November 23rd, 2015 by Raju Mahato

Introduction : Generally table view is used to display data in different rows and its very common to have rows under sections like all the name of states will be displayed under state sections, all the name cities listed under city section. Description : Lets have a window with a table. And we will add […]

Tableview with Alloy using Titanium

Posted on November 23rd, 2015 by Raju Mahato

Introduction : Tableview is a very common UI element used to display data in table row format. It is used to display information as organised section and row format. Description : Lets have a window where we will define a table and will add few rows to it. CODE BLOCK : index.xml <Alloy> <Window backgroundColor=’red’> […]

Append section in tableview with Alloy using Titanium in Cross Platform App

Posted on November 23rd, 2015 by Raju Mahato

Introduction : Section in tableview used to categorised the rows to different category. Here I am going to describe the way to append new section at the end of a table. To do this Titanium provides methods appendSection which is associated with tableview API. Description : Here is how to append section lets create a scenario […]

Append row in tableview with Alloy using Titanium in Cross Platform App

Posted on November 23rd, 2015 by Raju Mahato

Introduction : There might be a condition where we need to add custom rows at the end of all rows in a table view. So here Titanium provides method associated with table view API which helps us to do the same job. Description : To describe the situation lets make a view with a tableview […]

Disable vertical bounce effect of container in scrollview in Titanium using Alloy

Posted on November 23rd, 2015 by Raju Mahato

Introduction : Usually we use scrollview to display large body of content which is  scrollable. But when a user reaches to top or bottom end of that content, it shows bounce effect to that instance. Application built with Titanium can have the feature to block this bounce effect at the top and bottom ends. Description […]