Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1000443 // ListView test

JavaX source code (Android) [tags: use-pretranspiled] - run with: the app

Libraryless. Compilation Failed (22L/1K).

1  
!636
2  
!quicknew
3  
4  
import android.view.*;
5  
import android.widget.*;
6  
import android.content.Context;
7  
8  
public class main {
9  
  public static View main(Context context) {
10  
        ListView lv = new ListView(context);
11  
        new List<String> list;
12  
        list.add("hello");
13  
        lv.setAdapter(new ArrayAdapter<String>(context, list));
14  
        return lv;
15  
  }
16  
}

Author comment

Began life as a copy of #675

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, exkalrxbqyxc, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000443
Snippet name: ListView test
Eternal ID of this version: #1000443/1
Text MD5: 8e33cb1a68badb7ca0dbe0fb4080f930
Transpilation MD5: 618ecfafd87b863d435d13277da4fc6b
Author: stefan
Category: javax
Type: JavaX source code (Android)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-06 05:37:29
Source code size: 370 bytes / 16 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 527 / 534
Referenced in: [show references]