1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-01-12 08:13:52 +01:00

add favour statistics

as title
This commit is contained in:
Denny C. Ng 2015-03-27 22:24:39 +01:00
parent e7d013bb12
commit bb60d920f3

View File

@ -342,17 +342,17 @@ public abstract class AbsStatusesFragment<Data> extends BaseSupportFragment impl
twitter.destroyFavoriteAsync(status.account_id, status.id); twitter.destroyFavoriteAsync(status.account_id, status.id);
//spice //spice
SpiceProfilingUtil.profile(activity, status.account_id, status.id + ",Unfavor," SpiceProfilingUtil.profile(activity, status.account_id, status.id + ",Unfavor,"
+ status.account_id + "," + status.user_id + "," + status.timestamp); + status.account_id + "," + status.user_id + "," + status.reply_count + "," + status.retweet_count + "," + status.favorite_count + "," + status.timestamp);
SpiceProfilingUtil.log(activity, status.id + ",Unfavor," + status.account_id SpiceProfilingUtil.log(activity, status.id + ",Unfavor,"
+ "," + status.user_id + "," + status.timestamp); + status.account_id + "," + status.user_id + "," + status.reply_count + "," + status.retweet_count + "," + status.favorite_count + "," + status.timestamp);
//end //end
} else { } else {
twitter.createFavoriteAsync(status.account_id, status.id); twitter.createFavoriteAsync(status.account_id, status.id);
//spice //spice
SpiceProfilingUtil.profile(activity, status.account_id, status.id + ",Favor," SpiceProfilingUtil.profile(activity, status.account_id, status.id + ",Favor,"
+ status.account_id + "," + status.user_id + "," + status.timestamp); + status.account_id + "," + status.user_id + "," + status.reply_count + "," + status.retweet_count + "," + status.favorite_count + "," + status.timestamp);
SpiceProfilingUtil.log(activity, status.id + ",Favor," + status.account_id SpiceProfilingUtil.log(activity, status.id + ",Favor,"
+ "," + status.user_id + "," + status.timestamp); + status.account_id + "," + status.user_id + "," + status.reply_count + "," + status.retweet_count + "," + status.favorite_count + "," + status.timestamp);
//end //end
} }
break; break;