1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-18 11:39:10 +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);
//spice
SpiceProfilingUtil.profile(activity, status.account_id, status.id + ",Unfavor,"
+ status.account_id + "," + status.user_id + "," + status.timestamp);
SpiceProfilingUtil.log(activity, 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 + "," + status.user_id + "," + status.reply_count + "," + status.retweet_count + "," + status.favorite_count + "," + status.timestamp);
//end
} else {
twitter.createFavoriteAsync(status.account_id, status.id);
//spice
SpiceProfilingUtil.profile(activity, status.account_id, status.id + ",Favor,"
+ status.account_id + "," + status.user_id + "," + status.timestamp);
SpiceProfilingUtil.log(activity, 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 + "," + status.user_id + "," + status.reply_count + "," + status.retweet_count + "," + status.favorite_count + "," + status.timestamp);
//end
}
break;