I'm trying to create one arraylist with the words from the titles of all the news (no duplicates), another arraylist with the number of times each word appears, and another arraylist with the number of times each word was read (clicked on, not marked as read).
I'm trying to get the titles of news when they are read and then delete all unread news. For the number of times each word appears and the actual words, I need the titles of all the news when a feed is opened. Can you help me with these two things? I'm really short on time because I am doing this for a project.
Thanks so much.
Thanks for the reply. So, what I need now is to add a listener to the editor area to detect when a feed is opened and to add a listener for whenever a news item is read. Problem is, I really have no idea about how to do these things. Could you help me, and be very specific?
I have not the slightest idea what you are trying to do :). You could add a listener to the editor area in the workbench to detect whenever a feed is opened. I guess this would be the easiest way of detecting whenever a feed is opened. Alternatively you could listen to bookmark update events and track the "Last Visited" value. That value is updated as soon as the bookmark is opened.