1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-01-18 11:14:57 +01:00

Merge pull request #91 from GeMotionX/patch-18

add favour statistics
This commit is contained in:
Mariotaku 2015-03-28 09:33:08 +08:00
commit 5817e9241d

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;