i have table layout with table row.
TableLayout TableHeader = new TableLayout(this);
TableRow HeaderRow[]=null;
HeaderRow[0] = new TableRow(this);
i want to use table row in array format as per above but if i use this its shows (null pointer access:) error.how to solve this problem
your array HeaderRow is null, instead it should be:
where size is the number of elements of array.