RE: [seriesguide-group] Usefull improvements

34 views
Skip to first unread message

Uwe Trottmann

unread,
Sep 17, 2012, 9:49:23 AM9/17/12
to seriesguide...@googlegroups.com, Brioche
Thanks!
 
Uwe
 
From: Brioche <brioch...@gmail.com>
Sent: ‎September‎ ‎17‎, ‎2012 ‎1‎:‎07‎ ‎PM
To: seriesguide...@googlegroups.com
Subject: [seriesguide-group] Usefull improvements
 
Hi,

Here are some improvements you could easily add to this already very good app:
- Use an italic font to print the name of the next episode to see if it has not aired yet
- Add the number of aired episodes still to be watched and allow to sort based on this (if the viewer is up to date, you can print "-" or nothing instead of 0)

 

--
You received this message because you are subscribed to the Google Groups "SeriesGuide" group.
Visit this group at http://groups.google.com/group/seriesguide-discussion?hl=en.
 
 

Brioche

unread,
Oct 30, 2012, 9:27:52 AM10/30/12
to seriesguide...@googlegroups.com, Brioche
For the first part it's in ListsFragment.java around line 267 (as of today)

                    } else {
                        viewHolder
.episode.setText(fieldValue);
                        fieldValue
= mCursor.getString(ListItemsQuery.SHOW_NEXTAIRDATETEXT);
                        viewHolder
.episodeTime.setText(fieldValue);
                   
}

in this else, just add another if:
if (mCursor.getString(ListItemsQuery.SHOW_NEXTAIRDATETEXT) > now) {
   
// episode not aired yet
    viewHolder
.episode.setTypeface(Typeface.defaultFromStyle(Typeface.ITALIC), Typeface.ITALIC);
} else {
   
// episode already aired
    viewHolder
.episode.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL), Typeface.NORMAL);
}

Of course the condition is not right but it shouldn't be a problem.

Thanks
Reply all
Reply to author
Forward
0 new messages