There is the following code. It is necessary to insert the resulting array into the Linked list ... = (

@FXML public void okBtnAction() { String massGet = elemNumbers.getText(); i = Integer.parseInt(massGet); ArrayList massive = new ArrayList(); //Заполняем массив случайными числами for (int x = 0; x < i; x++) { massive.add(x, (int) (Math.random() * 100)); } 

enter image description here

    1 answer 1

     linkedList.addAll(massive); 

    And this is by the way not an array, but a collection.

    Did you happen to be wrong? In the ListView title, in the LinkedList question. For every fireman

     ArrayAdapter<String> adapter = new ArrayAdapter<>(this, android.R.layout.simple_list_item_1, massive.toArray(new String[0])); listView.setAdapter(adapter); 
    • By the way, why is it not editable? it is generally true editable .. it didn’t work for me to make it editable ... = ( - Mishustiq
    • Who to make editable? Can be more? - Flippy
    • Added an image to the topic. cells in the sheet are not editable. - Mishustiq