Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
starlight
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
starlight
Commits
abb4df80
Commit
abb4df80
authored
Jun 06, 2023
by
maxiaoliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建主页面
parent
7476e278
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
14 deletions
+21
-14
NewFragment.kt
.../src/main/java/com/zxhl/main/page/fragment/NewFragment.kt
+15
-0
PopularFragment.kt
.../main/java/com/zxhl/main/page/fragment/PopularFragment.kt
+0
-14
fragment_layout_new_home_fragment.xml
...src/main/res/layout/fragment_layout_new_home_fragment.xml
+6
-0
No files found.
moduleMain/src/main/java/com/zxhl/main/page/fragment/NewFragment.kt
0 → 100644
View file @
abb4df80
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
moduleMain/src/main/java/com/zxhl/main/page/fragment/PopularFragment.kt
View file @
abb4df80
...
...
@@ -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
{
...
...
moduleMain/src/main/res/layout/fragment_layout_new_home_fragment.xml
0 → 100644
View file @
abb4df80
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment