You are *not* making use of generics. The following declaration should be changed
ArrayList<Object> test = new ArrayList<Object>();
to
ArrayList<newsData> test = new ArrayList<newsData >();