assemble List

private open fun <T> assembleList(list: JSONArray): T

Method to assemble a list from JSONArray a generic value

Return

value as ArrayList of T, if it is not exist will return null

Parameters

list

: JSONArray from fetch data