修复错误的 MTA 事件命名
This commit is contained in:
@ -152,7 +152,7 @@ class AskFollowFragment : ListFragment<PersonalHistoryEntity, AskFollowViewModel
|
||||
}
|
||||
}
|
||||
|
||||
fun isShowingRecommendedUser(): Boolean {
|
||||
private fun isShowingRecommendedUser(): Boolean {
|
||||
if (::recommendContainer.isInitialized
|
||||
&& recommendContainer.visibility == View.VISIBLE) {
|
||||
return true
|
||||
|
||||
@ -194,11 +194,11 @@ public class AskSearchActivity extends BaseActivity {
|
||||
mDao.add(mDefaultSearchKey, UserManager.getInstance().getCommunity().getId());
|
||||
Util_System_Keyboard.hideSoftKeyboard(this, mSearchEt);
|
||||
|
||||
MtaHelper.onEvent("社区搜索事件", "默认搜索", UserManager.getInstance().getCommunity().getName() + "-" + mDefaultSearchKey);
|
||||
MtaHelper.onEvent("社区搜索", "默认搜索", UserManager.getInstance().getCommunity().getName() + "-" + mDefaultSearchKey);
|
||||
}
|
||||
} else {
|
||||
mDao.add(mSearchKey, UserManager.getInstance().getCommunity().getId());
|
||||
MtaHelper.onEvent("社区搜索事件", "主动搜索", UserManager.getInstance().getCommunity().getName() + "-" + mSearchKey);
|
||||
MtaHelper.onEvent("社区搜索", "主动搜索", UserManager.getInstance().getCommunity().getName() + "-" + mSearchKey);
|
||||
}
|
||||
} else if (v.getId() == R.id.bar_back) {
|
||||
finish();
|
||||
|
||||
@ -45,7 +45,7 @@ class HistoryFragmentAdapter(context: Context, dao: AskSearchHistoryDao, history
|
||||
EventBus.getDefault().post(EBSearch(AskSearchActivity.ASK_SEARCH_EB_TYPE, key))
|
||||
Util_System_Keyboard.hideSoftKeyboardByIBinder(mContext, v.windowToken)
|
||||
|
||||
MtaHelper.onEvent("社区搜索事件", "历史搜索", UserManager.getInstance().community.name + "-" + key)
|
||||
MtaHelper.onEvent("社区搜索", "历史搜索", UserManager.getInstance().community.name + "-" + key)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ class HotFragmentAdapter(context: Context,
|
||||
EventBus.getDefault().post(EBSearch(AskSearchActivity.ASK_SEARCH_EB_TYPE, data.keyword))
|
||||
Util_System_Keyboard.hideSoftKeyboardByIBinder(mContext, v.windowToken)
|
||||
|
||||
MtaHelper.onEvent("社区搜索事件", "热门搜索", UserManager.getInstance().community.name + "-" + data.keyword)
|
||||
MtaHelper.onEvent("社区搜索", "热门搜索", UserManager.getInstance().community.name + "-" + data.keyword)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user