feat: 内容社区神策埋点-第一期—客户端 https://jira.shanqu.cc/browse/GHZS-3927

This commit is contained in:
曾祥俊
2024-03-11 09:49:47 +08:00
parent 873178c10d
commit 3bd4823463
178 changed files with 4324 additions and 835 deletions

View File

@ -96,13 +96,23 @@ public class BindingAdapters {
}
}
// 大图下的进度条
public static void setDownloadButton(DownloadButton progressBar,
GameEntity gameEntity,
ExposureEvent traceEvent,
@Nullable View.OnClickListener clickCallBack,
@Nullable String entrance,
@Nullable String location) {
setDownloadButton(progressBar, gameEntity, traceEvent, clickCallBack, entrance, location, "其他");
}
// 大图下的进度条
public static void setDownloadButton(DownloadButton progressBar,
GameEntity gameEntity,
ExposureEvent traceEvent,
@Nullable View.OnClickListener clickCallBack,
@Nullable String entrance,
@Nullable String location,
String sourceEntrance) {
// 恢复DialogFragment
restoreDialogFragment(progressBar);
@ -272,7 +282,7 @@ public class BindingAdapters {
case RESERVABLE:
GamePermissionDialogFragment.show((AppCompatActivity) v.getContext(), gameEntity, gameEntity.getInfo(), () -> {
CheckLoginUtils.checkLogin(progressBar.getContext(), "", () -> {
ReservationHelper.reserve(v.getContext(), gameEntity, () -> {
ReservationHelper.reserve(v.getContext(), gameEntity, sourceEntrance, () -> {
LogUtils.logReservation(gameEntity, traceEvent);
updateReservation(progressBar, gameEntity);
});