1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2024-12-25 16:02:42 +01:00

add favor statistic

as titile
This commit is contained in:
Denny C. Ng 2015-03-27 22:26:55 +01:00
parent e7d013bb12
commit b547e156e3

View File

@ -1013,15 +1013,19 @@ public class StatusFragment extends BaseSupportFragment
twitter.destroyFavoriteAsync(status.account_id, status.id); twitter.destroyFavoriteAsync(status.account_id, status.id);
//spice //spice
SpiceProfilingUtil.profile(adapter.getContext(), SpiceProfilingUtil.profile(adapter.getContext(),
status.account_id, status.id + ",Unfavor," + status.account_id + "," + status.user_id + "," + status.timestamp); status.account_id, status.id + ",Unfavor,"
SpiceProfilingUtil.log(adapter.getContext(), 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(adapter.getContext(), status.id + ",Unfavor,"
+ 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(adapter.getContext(), SpiceProfilingUtil.profile(adapter.getContext(),
status.account_id, status.id + ",Favor," + status.account_id + "," + status.user_id + "," + status.timestamp); status.account_id, status.id + ",Favor,"
SpiceProfilingUtil.log(adapter.getContext(), 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(adapter.getContext(), status.id + ",Favor,"
+ status.account_id + "," + status.user_id + "," + status.reply_count + "," + status.retweet_count + "," + status.favorite_count + "," + status.timestamp);
//end //end
} }
break; break;