Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1610

Custom TableViewRows created with Alloy are not released from memory

    Details

      Description

      Test code:

       
       
       
      	data  = database.searchExercises(value); 
      	
      			for (var i=0; i<data.length; i++) {    
          		var arg = {
            			  title: data[i].title,
            			  type: data[i].type,
            			  className : 'row'
            		};
            		
         			 var row = Alloy.createController('row', arg).getView();
         			
          		tempData.push(row);
          		
      		}
      	
      	
      		$.searchResults.setData(tempData);
      

      <Alloy>
          <TableViewRow id="rowView" className="row">
          	<View id="containerView"> 	
          	 <Label id="rowLabel"></Label>
          	 <View id="optionView"><View id="toolsView"></View></View>
          	</View>
          </TableViewRow>
      </Alloy>
      
      

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              francoisb Francois Brosseau
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration