Text Not Appearing

Hi,

Can someone assist me with this problem. The text in the android app doesn’t appear. Here is the code:

createFaqTabView = function()
    local listOptions = {
            top = 50,
            height = 380,
    }
    local newTabView = widget.newTableView(listOptions )
    local function onRowRender( event )
        local group = event.view
        local row = event.target
        local id = row.id;
        local text = display.newText( faqTab[id], 0, 0, native.systemFont, 20 )
        text:setTextColor(200, 0, 0)
        text:setReferencePoint( display.CenterLeftReferencePoint )
        text.x = 25
        text.y = row.height * 0.5
        row.text = text;
        local newImage1 = display.newImageRect(group, “listItemBg.png”, 320, 50);
        newImage1.x, newImage1.y = row.width*0.5, row.height*0.5;
        – you must insert any display objects into event.view group
        group:insert( text )
    end
    local function onRowTouch( event )
            local row = event.target
            local rowGroup = event.view
            if event.phase == “press” then

            elseif event.phase == “release” or event.phase == “tap” then
                    if not row.isCategory then
                            – reRender property tells row to refresh if still onScreen when content moves
                            createScrollView(row);
                    end
            end

If someone is able to assist, please message me and I can send through the entire menu.lua file.

Thanks.

Try changing 

local group = event.view local row = event.target

to just 

local row = event.row

and then inserting into “row” instead of “group” (row.id will still work too).

Try changing 

local group = event.view local row = event.target

to just 

local row = event.row

and then inserting into “row” instead of “group” (row.id will still work too).