Commit abb4df80 authored by maxiaoliang's avatar maxiaoliang

新建主页面

parent 7476e278
package com.zxhl.main.page.fragment
import android.view.View
import com.zxhl.cms.common.base.BaseFragment
import com.zxhl.main.R
class NewFragment:BaseFragment() {
override fun layoutID(): Int {
return R.layout.fragment_layout_new_home_fragment
}
override fun init(view: View?) {
}
}
\ No newline at end of file
......@@ -37,10 +37,6 @@ import org.greenrobot.eventbus.Subscribe
import org.greenrobot.eventbus.ThreadMode
import java.util.*
/**
* Created by gaoleichao on 2021/10/25
*/
class PopularFragment : BaseFragment(), HomeContract.View, OnRecycleItemClickListener<HomeListEntity>,
UpdateCallback ,AdCallback<String>{
private var mPresenter: HomePresenter? = null
......@@ -625,16 +621,6 @@ class PopularFragment : BaseFragment(), HomeContract.View, OnRecycleItemClickLis
if (user == null) {
return
}
Log.e("MXL",""+user.newUser)
// if (TextUtils.equals("${user.newUser}", "1")) {
// DialogUtils.showFirstGuide(mActivity, View.OnClickListener {
// mPresenter?.getNewUserReceive()
// })
// } else if (user.signInPopup == 1) {
// requestSignReceive()
// } else {
// mPresenter?.getRecommend()
// }
}
companion object {
......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment