I am beginner in Android and want get Twitter trends, but getting a null value in trends. I don't understand where I made a mistake.
List<Trends> list; Trends trends; private Twitter mTwitter;
public List<Trends>getDailyTrends(Date date, boolean excludeHashTags){
try{
list = mTwitter.getDailyTrends(date, excludeHashTags);
Log.d("ab to aaja<><><><><>", ""+list);
}catch (TwitterException e)
{
e.printStackTrace();
}
return list;
}