Created
          February 18, 2016 20:36 
        
      - 
      
 - 
        
Save codenameone/dc9c7f13f6b312d1edc8 to your computer and use it in GitHub Desktop.  
    Sample of the usage of setRendering prototype
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Map<String, Object> proto = new HashMap<>(); | |
| map.put("Line1", "WWWWWWWWWWWWWWWWWWWW"); | |
| map.put("Line2", "WWWWWWWWWWWWWWWWWWWW"); | |
| int mm5 = Display.getInstance().convertToPixels(5, true); | |
| map.put("icon", Image.create(mm5, mm5)); | |
| myMultiList.setRenderingPrototype(map); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Sample usage of List.
From the Codename One project