Commit dd4edc5c authored by Jonathan Sudibya's avatar Jonathan Sudibya
Browse files

Fixed add method to listener

parent 2a9c729e
...@@ -61,4 +61,13 @@ public class Listener implements Runnable { ...@@ -61,4 +61,13 @@ public class Listener implements Runnable {
active = _active; active = _active;
} }
public boolean isDataEmpty()
{
return data.isEmpty();
}
public JSONObject getFirstData()
{
return data.remove(0);
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment