I have an android app with a screen that comprises of a ListView, which I am using to display a list of devices. These devices are held in an array.
I am trying to use
your method addDevice is causing an endless loop. Dont call a method from itself like you are doing here :
deviceList = addDevice();