Showing
100 changed files
with
270 additions
and
249 deletions
Too many changes to show.
To preserve performance only 100 of 100+ files are displayed.
| @@ -52,6 +52,7 @@ | @@ -52,6 +52,7 @@ | ||
| 52 | 52 | ||
| 53 | <activity | 53 | <activity |
| 54 | android:name=".MainActivity" | 54 | android:name=".MainActivity" |
| 55 | + android:theme="@style/SplashTheme" | ||
| 55 | android:exported="true" | 56 | android:exported="true" |
| 56 | android:launchMode="singleTask"> | 57 | android:launchMode="singleTask"> |
| 57 | <intent-filter> | 58 | <intent-filter> |
| @@ -41,11 +41,11 @@ public class WCompTask extends Task { | @@ -41,11 +41,11 @@ public class WCompTask extends Task { | ||
| 41 | // public void registerComponent(IComponentRegister iComponentRegister) { | 41 | // public void registerComponent(IComponentRegister iComponentRegister) { |
| 42 | // // 内容获取组件 | 42 | // // 内容获取组件 |
| 43 | // iComponentRegister.registerComponent("ContentComponent", | 43 | // iComponentRegister.registerComponent("ContentComponent", |
| 44 | -// "com.people.component.content.ContentComponent"); | 44 | +// "com.wd.component.content.ContentComponent"); |
| 45 | // // comp组件 | 45 | // // comp组件 |
| 46 | -// iComponentRegister.registerComponent("CompComponent", "com.people.component.comp.CompComponent"); | 46 | +// iComponentRegister.registerComponent("CompComponent", "com.wd.component.comp.CompComponent"); |
| 47 | // // 语音识别 | 47 | // // 语音识别 |
| 48 | -// iComponentRegister.registerComponent("SpeechComponent", "com.people.speech.SpeechComponent"); | 48 | +// iComponentRegister.registerComponent("SpeechComponent", "com.wd.speech.SpeechComponent"); |
| 49 | // } | 49 | // } |
| 50 | // | 50 | // |
| 51 | // @Override | 51 | // @Override |
app/src/main/res/drawable/startbg.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | ||
| 2 | +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | + <item><color android:color="@color/res_color_common_C8_keep" /></item> | ||
| 4 | + <item android:width="@dimen/rmrb_dp300" | ||
| 5 | + android:height="@dimen/btmlogo_dimen" | ||
| 6 | + android:gravity="bottom|center_horizontal"> | ||
| 7 | + <bitmap android:gravity="center" | ||
| 8 | + android:src="@drawable/icon_splash_tra_bottom_logo"/></item> | ||
| 9 | +</layer-list> |
| @@ -7,4 +7,15 @@ | @@ -7,4 +7,15 @@ | ||
| 7 | <item name="colorAccent">@color/colorAccent</item> | 7 | <item name="colorAccent">@color/colorAccent</item> |
| 8 | <item name="android:forceDarkAllowed" tools:targetApi="q">false</item> | 8 | <item name="android:forceDarkAllowed" tools:targetApi="q">false</item> |
| 9 | </style> | 9 | </style> |
| 10 | + | ||
| 11 | + | ||
| 12 | + <style name="SplashTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
| 13 | + <!-- <item name="android:windowNoTitle">true</item>--> | ||
| 14 | + <item name="android:windowFullscreen">true</item> | ||
| 15 | + <item name="android:windowContentOverlay">@null</item> | ||
| 16 | + <item name="android:windowBackground">@drawable/startbg</item> | ||
| 17 | + <item name="android:windowTranslucentStatus">true</item> | ||
| 18 | + <item name="android:windowDrawsSystemBarBackgrounds" >false</item> | ||
| 19 | + <item name="android:forceDarkAllowed" tools:targetApi="q">false</item> | ||
| 20 | + </style> | ||
| 10 | </resources> | 21 | </resources> |
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | - package="com.people.comment"> | 3 | + package="com.wd.comment"> |
| 4 | 4 | ||
| 5 | <uses-permission android:name="android.permission.INTERNET" /> | 5 | <uses-permission android:name="android.permission.INTERNET" /> |
| 6 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> | 6 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 1 | -package com.people.comment.adapter; | 1 | +package com.wd.comment.adapter; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.view.LayoutInflater; | 4 | import android.view.LayoutInflater; |
| @@ -8,13 +8,13 @@ import android.view.ViewGroup; | @@ -8,13 +8,13 @@ import android.view.ViewGroup; | ||
| 8 | import androidx.annotation.NonNull; | 8 | import androidx.annotation.NonNull; |
| 9 | import androidx.recyclerview.widget.RecyclerView; | 9 | import androidx.recyclerview.widget.RecyclerView; |
| 10 | 10 | ||
| 11 | -import com.people.comment.R; | ||
| 12 | -import com.people.comment.view_holder.CommentChildViewHolder; | ||
| 13 | -import com.people.comment.view_holder.CommentParentViewHolder; | ||
| 14 | -import com.people.comment.view_holder.CommentTitleViewHolder; | ||
| 15 | -import com.people.comment.view_holder.EmptyCommentViewHolder; | ||
| 16 | -import com.people.comment.view_holder.MoreCommentViewHolder; | ||
| 17 | -import com.people.comment.view_holder.NoMoreCommentViewHolder; | 11 | +import com.wd.comment.R; |
| 12 | +import com.wd.comment.view_holder.CommentChildViewHolder; | ||
| 13 | +import com.wd.comment.view_holder.CommentParentViewHolder; | ||
| 14 | +import com.wd.comment.view_holder.CommentTitleViewHolder; | ||
| 15 | +import com.wd.comment.view_holder.EmptyCommentViewHolder; | ||
| 16 | +import com.wd.comment.view_holder.MoreCommentViewHolder; | ||
| 17 | +import com.wd.comment.view_holder.NoMoreCommentViewHolder; | ||
| 18 | import com.wd.foundation.wdkit.constant.PageNameConstants; | 18 | import com.wd.foundation.wdkit.constant.PageNameConstants; |
| 19 | import com.wd.foundation.wdkit.view.DefaultView; | 19 | import com.wd.foundation.wdkit.view.DefaultView; |
| 20 | import com.wd.foundation.bean.custom.content.CommentItem; | 20 | import com.wd.foundation.bean.custom.content.CommentItem; |
| 1 | -package com.people.comment.adapter; | 1 | +package com.wd.comment.adapter; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.view.LayoutInflater; | 4 | import android.view.LayoutInflater; |
| @@ -7,8 +7,8 @@ import android.view.ViewGroup; | @@ -7,8 +7,8 @@ import android.view.ViewGroup; | ||
| 7 | import android.widget.BaseAdapter; | 7 | import android.widget.BaseAdapter; |
| 8 | import android.widget.TextView; | 8 | import android.widget.TextView; |
| 9 | 9 | ||
| 10 | -import com.people.comment.R; | ||
| 11 | -import com.people.comment.bean.EmojiEntity; | 10 | +import com.wd.comment.R; |
| 11 | +import com.wd.comment.bean.EmojiEntity; | ||
| 12 | 12 | ||
| 13 | import java.util.List; | 13 | import java.util.List; |
| 14 | 14 |
| 1 | -package com.people.comment.adapter; | 1 | +package com.wd.comment.adapter; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.view.LayoutInflater; | 4 | import android.view.LayoutInflater; |
| @@ -8,7 +8,7 @@ import android.widget.BaseAdapter; | @@ -8,7 +8,7 @@ import android.widget.BaseAdapter; | ||
| 8 | import android.widget.FrameLayout; | 8 | import android.widget.FrameLayout; |
| 9 | import android.widget.ImageView; | 9 | import android.widget.ImageView; |
| 10 | 10 | ||
| 11 | -import com.people.comment.R; | 11 | +import com.wd.comment.R; |
| 12 | import com.wd.foundation.wdkit.imageglide.ImageUtils; | 12 | import com.wd.foundation.wdkit.imageglide.ImageUtils; |
| 13 | import com.wd.foundation.wdkit.utils.ScreenUtils; | 13 | import com.wd.foundation.wdkit.utils.ScreenUtils; |
| 14 | 14 |
| 1 | -package com.people.comment.adapter; | 1 | +package com.wd.comment.adapter; |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | import android.graphics.Typeface; | 4 | import android.graphics.Typeface; |
| @@ -20,7 +20,7 @@ import androidx.constraintlayout.widget.ConstraintLayout; | @@ -20,7 +20,7 @@ import androidx.constraintlayout.widget.ConstraintLayout; | ||
| 20 | import androidx.core.content.ContextCompat; | 20 | import androidx.core.content.ContextCompat; |
| 21 | 21 | ||
| 22 | import com.chad.library.adapter.base.BaseViewHolder; | 22 | import com.chad.library.adapter.base.BaseViewHolder; |
| 23 | -import com.people.comment.R; | 23 | +import com.wd.comment.R; |
| 24 | import com.wd.common.base.BaseSplitAdapter; | 24 | import com.wd.common.base.BaseSplitAdapter; |
| 25 | import com.wd.foundation.wdkit.imageglide.ImageUtils; | 25 | import com.wd.foundation.wdkit.imageglide.ImageUtils; |
| 26 | import com.wd.foundation.wdkit.viewclick.BaseClickListener; | 26 | import com.wd.foundation.wdkit.viewclick.BaseClickListener; |
| 1 | -package com.people.comment.adapter; | 1 | +package com.wd.comment.adapter; |
| 2 | 2 | ||
| 3 | import android.graphics.Typeface; | 3 | import android.graphics.Typeface; |
| 4 | import android.text.Spannable; | 4 | import android.text.Spannable; |
| @@ -17,7 +17,7 @@ import androidx.constraintlayout.widget.ConstraintLayout; | @@ -17,7 +17,7 @@ import androidx.constraintlayout.widget.ConstraintLayout; | ||
| 17 | import androidx.core.content.ContextCompat; | 17 | import androidx.core.content.ContextCompat; |
| 18 | 18 | ||
| 19 | import com.chad.library.adapter.base.BaseViewHolder; | 19 | import com.chad.library.adapter.base.BaseViewHolder; |
| 20 | -import com.people.comment.R; | 20 | +import com.wd.comment.R; |
| 21 | import com.wd.common.base.BaseSplitAdapter; | 21 | import com.wd.common.base.BaseSplitAdapter; |
| 22 | import com.wd.foundation.wdkit.imageglide.ImageUtils; | 22 | import com.wd.foundation.wdkit.imageglide.ImageUtils; |
| 23 | import com.wd.foundation.wdkit.viewclick.BaseClickListener; | 23 | import com.wd.foundation.wdkit.viewclick.BaseClickListener; |
| 1 | -package com.people.comment.comment.listener; | 1 | +package com.wd.comment.comment.listener; |
| 2 | 2 | ||
| 3 | import com.wd.foundation.bean.response.SpeechTokenBean; | 3 | import com.wd.foundation.bean.response.SpeechTokenBean; |
| 4 | import com.wd.foundation.wdkit.mvvm.vm.IVMCallback; | 4 | import com.wd.foundation.wdkit.mvvm.vm.IVMCallback; |
| 1 | -package com.people.comment.comment.model; | 1 | +package com.wd.comment.comment.model; |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | import android.text.TextUtils; | 4 | import android.text.TextUtils; |
| 5 | 5 | ||
| 6 | -import com.people.comment.adapter.CommentListAdapter; | ||
| 7 | -import com.people.comment.listener.BatchMyCommentListLikeStatusListener; | ||
| 8 | -import com.people.comment.listener.DeleteMyCommentListListener; | ||
| 9 | -import com.people.comment.listener.MyCommentListDataListener; | ||
| 10 | -import com.people.comment.listener.SubmitMyCommentListListener; | 6 | +import com.wd.comment.adapter.CommentListAdapter; |
| 7 | +import com.wd.comment.listener.BatchMyCommentListLikeStatusListener; | ||
| 8 | +import com.wd.comment.listener.DeleteMyCommentListListener; | ||
| 9 | +import com.wd.comment.listener.MyCommentListDataListener; | ||
| 10 | +import com.wd.comment.listener.SubmitMyCommentListListener; | ||
| 11 | import com.wd.capability.network.BaseObserver; | 11 | import com.wd.capability.network.BaseObserver; |
| 12 | import com.wd.capability.network.bean.MetaBean; | 12 | import com.wd.capability.network.bean.MetaBean; |
| 13 | import com.wd.foundation.wdkit.constant.EventConstants; | 13 | import com.wd.foundation.wdkit.constant.EventConstants; |
| 1 | -package com.people.comment.comment.model; | 1 | +package com.wd.comment.comment.model; |
| 2 | 2 | ||
| 3 | -import com.people.comment.comment.listener.AliTokenListener; | 3 | +import com.wd.comment.comment.listener.AliTokenListener; |
| 4 | import com.wd.capability.network.BaseObserver; | 4 | import com.wd.capability.network.BaseObserver; |
| 5 | import com.wd.capability.network.fetcher.BaseDataFetcher; | 5 | import com.wd.capability.network.fetcher.BaseDataFetcher; |
| 6 | import com.wd.capability.network.response.BaseResponse; | 6 | import com.wd.capability.network.response.BaseResponse; |
| 1 | -package com.people.comment.comment.model; | 1 | +package com.wd.comment.comment.model; |
| 2 | 2 | ||
| 3 | -import com.people.comment.comment.listener.IVisitorCommentDataListener; | 3 | +import com.wd.comment.comment.listener.IVisitorCommentDataListener; |
| 4 | import com.wd.capability.network.BaseObserver; | 4 | import com.wd.capability.network.BaseObserver; |
| 5 | import com.wd.capability.network.constant.ParameterConstant; | 5 | import com.wd.capability.network.constant.ParameterConstant; |
| 6 | import com.wd.capability.network.fetcher.BaseDataFetcher; | 6 | import com.wd.capability.network.fetcher.BaseDataFetcher; |
| 1 | -package com.people.comment.comment.vm; | 1 | +package com.wd.comment.comment.vm; |
| 2 | 2 | ||
| 3 | import androidx.lifecycle.LifecycleOwner; | 3 | import androidx.lifecycle.LifecycleOwner; |
| 4 | 4 | ||
| 5 | -import com.people.comment.comment.model.CommentDataFetcher; | ||
| 6 | -import com.people.comment.listener.BatchMyCommentListLikeStatusListener; | ||
| 7 | -import com.people.comment.listener.DeleteMyCommentListListener; | ||
| 8 | -import com.people.comment.listener.MyCommentListDataListener; | ||
| 9 | -import com.people.comment.listener.SubmitMyCommentListListener; | 5 | +import com.wd.comment.comment.model.CommentDataFetcher; |
| 6 | +import com.wd.comment.listener.BatchMyCommentListLikeStatusListener; | ||
| 7 | +import com.wd.comment.listener.DeleteMyCommentListListener; | ||
| 8 | +import com.wd.comment.listener.MyCommentListDataListener; | ||
| 9 | +import com.wd.comment.listener.SubmitMyCommentListListener; | ||
| 10 | import com.wd.foundation.wdkit.mvvm.vm.UIViewModel; | 10 | import com.wd.foundation.wdkit.mvvm.vm.UIViewModel; |
| 11 | import com.wd.common.interact.ICommentDataNewListener; | 11 | import com.wd.common.interact.ICommentDataNewListener; |
| 12 | import com.wd.common.interfaces.OnGetContentBeanSuccessListener; | 12 | import com.wd.common.interfaces.OnGetContentBeanSuccessListener; |
| 1 | -package com.people.comment.comment.vm; | 1 | +package com.wd.comment.comment.vm; |
| 2 | 2 | ||
| 3 | import androidx.lifecycle.LifecycleOwner; | 3 | import androidx.lifecycle.LifecycleOwner; |
| 4 | -import com.people.comment.comment.listener.IVisitorCommentDataListener; | ||
| 5 | -import com.people.comment.comment.model.VisitorCommentDataFetcher; | 4 | +import com.wd.comment.comment.listener.IVisitorCommentDataListener; |
| 5 | +import com.wd.comment.comment.model.VisitorCommentDataFetcher; | ||
| 6 | import com.wd.foundation.wdkit.mvvm.vm.UIViewModel; | 6 | import com.wd.foundation.wdkit.mvvm.vm.UIViewModel; |
| 7 | 7 | ||
| 8 | /** | 8 | /** |
| 1 | -package com.people.comment.commonpage; | 1 | +package com.wd.comment.commonpage; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.text.TextUtils; | 4 | import android.text.TextUtils; |
| 5 | 5 | ||
| 6 | -import com.people.comment.fragment.TemplateFragment; | ||
| 7 | -import com.people.room.SubscribeLivingHelper; | ||
| 8 | -import com.people.room.entity.SubscribeLivingModel; | 6 | +import com.wd.comment.fragment.TemplateFragment; |
| 7 | +import com.wd.room.SubscribeLivingHelper; | ||
| 8 | +import com.wd.room.entity.SubscribeLivingModel; | ||
| 9 | import com.wd.capability.layout.R; | 9 | import com.wd.capability.layout.R; |
| 10 | import com.wd.capability.network.BaseObserver; | 10 | import com.wd.capability.network.BaseObserver; |
| 11 | import com.wd.capability.network.constant.ParameterConstant; | 11 | import com.wd.capability.network.constant.ParameterConstant; |
| 1 | -package com.people.comment.commonpage; | 1 | +package com.wd.comment.commonpage; |
| 2 | 2 | ||
| 3 | import com.wd.capability.layout.comp.layoutdata.Page; | 3 | import com.wd.capability.layout.comp.layoutdata.Page; |
| 4 | import com.wd.foundation.bean.custom.comp.PageBean; | 4 | import com.wd.foundation.bean.custom.comp.PageBean; |
| 1 | -package com.people.comment.commonpage; | 1 | +package com.wd.comment.commonpage; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | 4 | ||
| 5 | import androidx.lifecycle.LifecycleOwner; | 5 | import androidx.lifecycle.LifecycleOwner; |
| 6 | 6 | ||
| 7 | -import com.people.room.entity.ChannelBean; | 7 | +import com.wd.room.entity.ChannelBean; |
| 8 | import com.wd.foundation.bean.RecListBean; | 8 | import com.wd.foundation.bean.RecListBean; |
| 9 | import com.wd.foundation.bean.custom.MenuBean; | 9 | import com.wd.foundation.bean.custom.MenuBean; |
| 10 | import com.wd.foundation.bean.custom.content.ContentBean; | 10 | import com.wd.foundation.bean.custom.content.ContentBean; |
| 1 | -package com.people.comment.commonpage; | 1 | +package com.wd.comment.commonpage; |
| 2 | 2 | ||
| 3 | -import com.people.room.entity.ChannelBean; | 3 | +import com.wd.room.entity.ChannelBean; |
| 4 | import com.wd.capability.layout.comp.layoutdata.AbsGroup; | 4 | import com.wd.capability.layout.comp.layoutdata.AbsGroup; |
| 5 | import com.wd.capability.layout.comp.layoutdata.Page; | 5 | import com.wd.capability.layout.comp.layoutdata.Page; |
| 6 | import com.wd.capability.layout.comp.parser.ChannelSectionParser; | 6 | import com.wd.capability.layout.comp.parser.ChannelSectionParser; |
| 1 | -package com.people.comment.dialog; | 1 | +package com.wd.comment.dialog; |
| 2 | 2 | ||
| 3 | import android.app.Dialog; | 3 | import android.app.Dialog; |
| 4 | import android.content.Context; | 4 | import android.content.Context; |
| @@ -20,7 +20,7 @@ import android.widget.TextView; | @@ -20,7 +20,7 @@ import android.widget.TextView; | ||
| 20 | import androidx.core.content.ContextCompat; | 20 | import androidx.core.content.ContextCompat; |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | -import com.people.comment.R; | 23 | +import com.wd.comment.R; |
| 24 | import com.wd.foundation.wdkit.utils.UiUtils; | 24 | import com.wd.foundation.wdkit.utils.UiUtils; |
| 25 | 25 | ||
| 26 | import java.util.ArrayList; | 26 | import java.util.ArrayList; |
| 1 | -package com.people.comment.dialog; | 1 | +package com.wd.comment.dialog; |
| 2 | 2 | ||
| 3 | import android.app.Activity; | 3 | import android.app.Activity; |
| 4 | import android.graphics.Color; | 4 | import android.graphics.Color; |
| @@ -14,9 +14,9 @@ import android.widget.TextView; | @@ -14,9 +14,9 @@ import android.widget.TextView; | ||
| 14 | 14 | ||
| 15 | import androidx.core.content.ContextCompat; | 15 | import androidx.core.content.ContextCompat; |
| 16 | 16 | ||
| 17 | -import com.people.comment.R; | ||
| 18 | -import com.people.comment.listener.CommitDialogListener; | ||
| 19 | -import com.people.comment.manager.ExpressionManager; | 17 | +import com.wd.comment.R; |
| 18 | +import com.wd.comment.listener.CommitDialogListener; | ||
| 19 | +import com.wd.comment.manager.ExpressionManager; | ||
| 20 | import com.wd.foundation.wdkit.constant.PageNameConstants; | 20 | import com.wd.foundation.wdkit.constant.PageNameConstants; |
| 21 | import com.wd.common.dialog.LayerDialog; | 21 | import com.wd.common.dialog.LayerDialog; |
| 22 | import com.wd.foundation.wdkit.imageglide.ImageUtils; | 22 | import com.wd.foundation.wdkit.imageglide.ImageUtils; |
| 1 | 1 | ||
| 2 | -package com.people.comment.dialog; | 2 | +package com.wd.comment.dialog; |
| 3 | 3 | ||
| 4 | import android.content.Context; | 4 | import android.content.Context; |
| 5 | import android.os.Bundle; | 5 | import android.os.Bundle; |
| @@ -11,7 +11,7 @@ import androidx.annotation.NonNull; | @@ -11,7 +11,7 @@ import androidx.annotation.NonNull; | ||
| 11 | import androidx.core.content.ContextCompat; | 11 | import androidx.core.content.ContextCompat; |
| 12 | 12 | ||
| 13 | import com.google.android.material.bottomsheet.BottomSheetDialog; | 13 | import com.google.android.material.bottomsheet.BottomSheetDialog; |
| 14 | -import com.people.comment.R; | 14 | +import com.wd.comment.R; |
| 15 | import com.wd.foundation.bean.custom.content.CommentItem; | 15 | import com.wd.foundation.bean.custom.content.CommentItem; |
| 16 | 16 | ||
| 17 | /** | 17 | /** |
| 1 | -package com.people.comment.dialog; | 1 | +package com.wd.comment.dialog; |
| 2 | 2 | ||
| 3 | import android.app.Activity; | 3 | import android.app.Activity; |
| 4 | import android.content.Context; | 4 | import android.content.Context; |
| @@ -17,11 +17,11 @@ import androidx.recyclerview.widget.SimpleItemAnimator; | @@ -17,11 +17,11 @@ import androidx.recyclerview.widget.SimpleItemAnimator; | ||
| 17 | 17 | ||
| 18 | import com.google.android.material.bottomsheet.BottomSheetBehavior; | 18 | import com.google.android.material.bottomsheet.BottomSheetBehavior; |
| 19 | import com.google.android.material.bottomsheet.BottomSheetDialog; | 19 | import com.google.android.material.bottomsheet.BottomSheetDialog; |
| 20 | -import com.people.comment.R; | ||
| 21 | -import com.people.comment.adapter.CommentListAdapter; | ||
| 22 | -import com.people.comment.bean.CommentClickShowType; | ||
| 23 | -import com.people.comment.comment.vm.CommentViewModel; | ||
| 24 | -import com.people.comment.listener.CommitDialogListener; | 20 | +import com.wd.comment.R; |
| 21 | +import com.wd.comment.adapter.CommentListAdapter; | ||
| 22 | +import com.wd.comment.bean.CommentClickShowType; | ||
| 23 | +import com.wd.comment.comment.vm.CommentViewModel; | ||
| 24 | +import com.wd.comment.listener.CommitDialogListener; | ||
| 25 | import com.scwang.smart.refresh.layout.api.RefreshLayout; | 25 | import com.scwang.smart.refresh.layout.api.RefreshLayout; |
| 26 | import com.scwang.smart.refresh.layout.listener.OnLoadMoreListener; | 26 | import com.scwang.smart.refresh.layout.listener.OnLoadMoreListener; |
| 27 | import com.wd.base.log.Logger; | 27 | import com.wd.base.log.Logger; |
| 1 | 1 | ||
| 2 | -package com.people.comment.dialog; | 2 | +package com.wd.comment.dialog; |
| 3 | 3 | ||
| 4 | import android.app.Dialog; | 4 | import android.app.Dialog; |
| 5 | import android.content.Context; | 5 | import android.content.Context; |
| @@ -22,11 +22,11 @@ import androidx.annotation.NonNull; | @@ -22,11 +22,11 @@ import androidx.annotation.NonNull; | ||
| 22 | import androidx.fragment.app.FragmentActivity; | 22 | import androidx.fragment.app.FragmentActivity; |
| 23 | import androidx.viewpager.widget.ViewPager; | 23 | import androidx.viewpager.widget.ViewPager; |
| 24 | 24 | ||
| 25 | -import com.people.comment.R; | ||
| 26 | -import com.people.comment.adapter.ExpressionGridViewAdapter; | ||
| 27 | -import com.people.comment.adapter.ExpressionPagerAdapter; | ||
| 28 | -import com.people.comment.bean.EmojiEntity; | ||
| 29 | -import com.people.comment.listener.CommentSeedListener; | 25 | +import com.wd.comment.R; |
| 26 | +import com.wd.comment.adapter.ExpressionGridViewAdapter; | ||
| 27 | +import com.wd.comment.adapter.ExpressionPagerAdapter; | ||
| 28 | +import com.wd.comment.bean.EmojiEntity; | ||
| 29 | +import com.wd.comment.listener.CommentSeedListener; | ||
| 30 | import com.wd.capability.network.BaseObserver; | 30 | import com.wd.capability.network.BaseObserver; |
| 31 | import com.wd.capability.network.bean.MetaBean; | 31 | import com.wd.capability.network.bean.MetaBean; |
| 32 | import com.wd.foundation.wdkit.constant.EventConstants; | 32 | import com.wd.foundation.wdkit.constant.EventConstants; |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio; | 16 | +package com.wd.comment.emjio; |
| 17 | 17 | ||
| 18 | import android.app.Activity; | 18 | import android.app.Activity; |
| 19 | import android.view.Window; | 19 | import android.view.Window; |
| @@ -13,14 +13,14 @@ | @@ -13,14 +13,14 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio; | 16 | +package com.wd.comment.emjio; |
| 17 | 17 | ||
| 18 | import android.content.Context; | 18 | import android.content.Context; |
| 19 | import android.view.View; | 19 | import android.view.View; |
| 20 | 20 | ||
| 21 | -import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler; | ||
| 22 | -import com.people.comment.emjio.util.KPSwitchConflictUtil; | ||
| 23 | -import com.people.comment.emjio.util.KeyboardUtil; | 21 | +import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler; |
| 22 | +import com.wd.comment.emjio.util.KPSwitchConflictUtil; | ||
| 23 | +import com.wd.comment.emjio.util.KeyboardUtil; | ||
| 24 | 24 | ||
| 25 | /** | 25 | /** |
| 26 | * @Author :张泽昊 | 26 | * @Author :张泽昊 |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio; | 16 | +package com.wd.comment.emjio; |
| 17 | 17 | ||
| 18 | /** | 18 | /** |
| 19 | * @Author :张泽昊 | 19 | * @Author :张泽昊 |
| @@ -13,13 +13,13 @@ | @@ -13,13 +13,13 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.handler; | 16 | +package com.wd.comment.emjio.handler; |
| 17 | 17 | ||
| 18 | import android.view.View; | 18 | import android.view.View; |
| 19 | import android.view.Window; | 19 | import android.view.Window; |
| 20 | 20 | ||
| 21 | -import com.people.comment.emjio.IFSPanelConflictLayout; | ||
| 22 | -import com.people.comment.emjio.util.KeyboardUtil; | 21 | +import com.wd.comment.emjio.IFSPanelConflictLayout; |
| 22 | +import com.wd.comment.emjio.util.KeyboardUtil; | ||
| 23 | 23 | ||
| 24 | /** | 24 | /** |
| 25 | * @Author :张泽昊 | 25 | * @Author :张泽昊 |
| @@ -13,16 +13,16 @@ | @@ -13,16 +13,16 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.handler; | 16 | +package com.wd.comment.emjio.handler; |
| 17 | 17 | ||
| 18 | import android.content.Context; | 18 | import android.content.Context; |
| 19 | import android.content.res.TypedArray; | 19 | import android.content.res.TypedArray; |
| 20 | import android.util.AttributeSet; | 20 | import android.util.AttributeSet; |
| 21 | import android.view.View; | 21 | import android.view.View; |
| 22 | 22 | ||
| 23 | -import com.people.comment.R; | ||
| 24 | -import com.people.comment.emjio.IPanelConflictLayout; | ||
| 25 | -import com.people.comment.emjio.util.ViewUtil; | 23 | +import com.wd.comment.R; |
| 24 | +import com.wd.comment.emjio.IPanelConflictLayout; | ||
| 25 | +import com.wd.comment.emjio.util.ViewUtil; | ||
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | /** | 28 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.handler; | 16 | +package com.wd.comment.emjio.handler; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.app.Activity; | 19 | import android.app.Activity; |
| @@ -23,9 +23,9 @@ import android.util.Log; | @@ -23,9 +23,9 @@ import android.util.Log; | ||
| 23 | import android.view.View; | 23 | import android.view.View; |
| 24 | import android.view.ViewGroup; | 24 | import android.view.ViewGroup; |
| 25 | 25 | ||
| 26 | -import com.people.comment.emjio.IPanelConflictLayout; | ||
| 27 | -import com.people.comment.emjio.util.StatusBarHeightUtil; | ||
| 28 | -import com.people.comment.emjio.util.ViewUtil; | 26 | +import com.wd.comment.emjio.IPanelConflictLayout; |
| 27 | +import com.wd.comment.emjio.util.StatusBarHeightUtil; | ||
| 28 | +import com.wd.comment.emjio.util.ViewUtil; | ||
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| 31 | * @Author :张泽昊 | 31 | * @Author :张泽昊 |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.util; | 16 | +package com.wd.comment.emjio.util; |
| 17 | 17 | ||
| 18 | import android.app.Activity; | 18 | import android.app.Activity; |
| 19 | import android.view.MotionEvent; | 19 | import android.view.MotionEvent; |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.util; | 16 | +package com.wd.comment.emjio.util; |
| 17 | 17 | ||
| 18 | import android.content.Context; | 18 | import android.content.Context; |
| 19 | import android.content.SharedPreferences; | 19 | import android.content.SharedPreferences; |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.util; | 16 | +package com.wd.comment.emjio.util; |
| 17 | 17 | ||
| 18 | import android.app.Activity; | 18 | import android.app.Activity; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -26,8 +26,8 @@ import android.view.ViewGroup; | @@ -26,8 +26,8 @@ import android.view.ViewGroup; | ||
| 26 | import android.view.ViewTreeObserver; | 26 | import android.view.ViewTreeObserver; |
| 27 | import android.view.inputmethod.InputMethodManager; | 27 | import android.view.inputmethod.InputMethodManager; |
| 28 | 28 | ||
| 29 | -import com.people.comment.R; | ||
| 30 | -import com.people.comment.emjio.IPanelHeightTarget; | 29 | +import com.wd.comment.R; |
| 30 | +import com.wd.comment.emjio.IPanelHeightTarget; | ||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | /** | 33 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.util; | 16 | +package com.wd.comment.emjio.util; |
| 17 | 17 | ||
| 18 | import android.content.Context; | 18 | import android.content.Context; |
| 19 | import android.util.Log; | 19 | import android.util.Log; |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.util; | 16 | +package com.wd.comment.emjio.util; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.app.Activity; | 19 | import android.app.Activity; |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -22,10 +22,10 @@ import android.util.AttributeSet; | @@ -22,10 +22,10 @@ import android.util.AttributeSet; | ||
| 22 | import android.view.Window; | 22 | import android.view.Window; |
| 23 | import android.widget.FrameLayout; | 23 | import android.widget.FrameLayout; |
| 24 | 24 | ||
| 25 | -import com.people.comment.emjio.IFSPanelConflictLayout; | ||
| 26 | -import com.people.comment.emjio.IPanelHeightTarget; | ||
| 27 | -import com.people.comment.emjio.handler.KPSwitchFSPanelLayoutHandler; | ||
| 28 | -import com.people.comment.emjio.util.ViewUtil; | 25 | +import com.wd.comment.emjio.IFSPanelConflictLayout; |
| 26 | +import com.wd.comment.emjio.IPanelHeightTarget; | ||
| 27 | +import com.wd.comment.emjio.handler.KPSwitchFSPanelLayoutHandler; | ||
| 28 | +import com.wd.comment.emjio.util.ViewUtil; | ||
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -22,10 +22,10 @@ import android.util.AttributeSet; | @@ -22,10 +22,10 @@ import android.util.AttributeSet; | ||
| 22 | import android.view.Window; | 22 | import android.view.Window; |
| 23 | import android.widget.LinearLayout; | 23 | import android.widget.LinearLayout; |
| 24 | 24 | ||
| 25 | -import com.people.comment.emjio.IFSPanelConflictLayout; | ||
| 26 | -import com.people.comment.emjio.IPanelHeightTarget; | ||
| 27 | -import com.people.comment.emjio.handler.KPSwitchFSPanelLayoutHandler; | ||
| 28 | -import com.people.comment.emjio.util.ViewUtil; | 25 | +import com.wd.comment.emjio.IFSPanelConflictLayout; |
| 26 | +import com.wd.comment.emjio.IPanelHeightTarget; | ||
| 27 | +import com.wd.comment.emjio.handler.KPSwitchFSPanelLayoutHandler; | ||
| 28 | +import com.wd.comment.emjio.util.ViewUtil; | ||
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -22,10 +22,10 @@ import android.util.AttributeSet; | @@ -22,10 +22,10 @@ import android.util.AttributeSet; | ||
| 22 | import android.view.Window; | 22 | import android.view.Window; |
| 23 | import android.widget.RelativeLayout; | 23 | import android.widget.RelativeLayout; |
| 24 | 24 | ||
| 25 | -import com.people.comment.emjio.IFSPanelConflictLayout; | ||
| 26 | -import com.people.comment.emjio.IPanelHeightTarget; | ||
| 27 | -import com.people.comment.emjio.handler.KPSwitchFSPanelLayoutHandler; | ||
| 28 | -import com.people.comment.emjio.util.ViewUtil; | 25 | +import com.wd.comment.emjio.IFSPanelConflictLayout; |
| 26 | +import com.wd.comment.emjio.IPanelHeightTarget; | ||
| 27 | +import com.wd.comment.emjio.handler.KPSwitchFSPanelLayoutHandler; | ||
| 28 | +import com.wd.comment.emjio.util.ViewUtil; | ||
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | /** | 31 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -22,9 +22,9 @@ import android.util.AttributeSet; | @@ -22,9 +22,9 @@ import android.util.AttributeSet; | ||
| 22 | import android.view.View; | 22 | import android.view.View; |
| 23 | import android.widget.FrameLayout; | 23 | import android.widget.FrameLayout; |
| 24 | 24 | ||
| 25 | -import com.people.comment.emjio.IPanelConflictLayout; | ||
| 26 | -import com.people.comment.emjio.IPanelHeightTarget; | ||
| 27 | -import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler; | 25 | +import com.wd.comment.emjio.IPanelConflictLayout; |
| 26 | +import com.wd.comment.emjio.IPanelHeightTarget; | ||
| 27 | +import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler; | ||
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -22,9 +22,9 @@ import android.util.AttributeSet; | @@ -22,9 +22,9 @@ import android.util.AttributeSet; | ||
| 22 | import android.view.View; | 22 | import android.view.View; |
| 23 | import android.widget.LinearLayout; | 23 | import android.widget.LinearLayout; |
| 24 | 24 | ||
| 25 | -import com.people.comment.emjio.IPanelConflictLayout; | ||
| 26 | -import com.people.comment.emjio.IPanelHeightTarget; | ||
| 27 | -import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler; | 25 | +import com.wd.comment.emjio.IPanelConflictLayout; |
| 26 | +import com.wd.comment.emjio.IPanelHeightTarget; | ||
| 27 | +import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler; | ||
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -22,9 +22,9 @@ import android.util.AttributeSet; | @@ -22,9 +22,9 @@ import android.util.AttributeSet; | ||
| 22 | import android.view.View; | 22 | import android.view.View; |
| 23 | import android.widget.RelativeLayout; | 23 | import android.widget.RelativeLayout; |
| 24 | 24 | ||
| 25 | -import com.people.comment.emjio.IPanelConflictLayout; | ||
| 26 | -import com.people.comment.emjio.IPanelHeightTarget; | ||
| 27 | -import com.people.comment.emjio.handler.KPSwitchPanelLayoutHandler; | 25 | +import com.wd.comment.emjio.IPanelConflictLayout; |
| 26 | +import com.wd.comment.emjio.IPanelHeightTarget; | ||
| 27 | +import com.wd.comment.emjio.handler.KPSwitchPanelLayoutHandler; | ||
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -21,7 +21,7 @@ import android.os.Build; | @@ -21,7 +21,7 @@ import android.os.Build; | ||
| 21 | import android.util.AttributeSet; | 21 | import android.util.AttributeSet; |
| 22 | import android.widget.FrameLayout; | 22 | import android.widget.FrameLayout; |
| 23 | 23 | ||
| 24 | -import com.people.comment.emjio.handler.KPSwitchRootLayoutHandler; | 24 | +import com.wd.comment.emjio.handler.KPSwitchRootLayoutHandler; |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | /** | 27 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -21,7 +21,7 @@ import android.os.Build; | @@ -21,7 +21,7 @@ import android.os.Build; | ||
| 21 | import android.util.AttributeSet; | 21 | import android.util.AttributeSet; |
| 22 | import android.widget.LinearLayout; | 22 | import android.widget.LinearLayout; |
| 23 | 23 | ||
| 24 | -import com.people.comment.emjio.handler.KPSwitchRootLayoutHandler; | 24 | +import com.wd.comment.emjio.handler.KPSwitchRootLayoutHandler; |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | /** | 27 | /** |
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. | 14 | * limitations under the License. |
| 15 | */ | 15 | */ |
| 16 | -package com.people.comment.emjio.widget; | 16 | +package com.wd.comment.emjio.widget; |
| 17 | 17 | ||
| 18 | import android.annotation.TargetApi; | 18 | import android.annotation.TargetApi; |
| 19 | import android.content.Context; | 19 | import android.content.Context; |
| @@ -21,7 +21,7 @@ import android.os.Build; | @@ -21,7 +21,7 @@ import android.os.Build; | ||
| 21 | import android.util.AttributeSet; | 21 | import android.util.AttributeSet; |
| 22 | import android.widget.RelativeLayout; | 22 | import android.widget.RelativeLayout; |
| 23 | 23 | ||
| 24 | -import com.people.comment.emjio.handler.KPSwitchRootLayoutHandler; | 24 | +import com.wd.comment.emjio.handler.KPSwitchRootLayoutHandler; |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | /** | 27 | /** |
| 1 | -package com.people.comment.fragment; | 1 | +package com.wd.comment.fragment; |
| 2 | 2 | ||
| 3 | import android.os.Bundle; | 3 | import android.os.Bundle; |
| 4 | import android.view.View; | 4 | import android.view.View; |
| @@ -10,12 +10,12 @@ import androidx.recyclerview.widget.LinearLayoutManager; | @@ -10,12 +10,12 @@ import androidx.recyclerview.widget.LinearLayoutManager; | ||
| 10 | import androidx.recyclerview.widget.RecyclerView; | 10 | import androidx.recyclerview.widget.RecyclerView; |
| 11 | import androidx.recyclerview.widget.SimpleItemAnimator; | 11 | import androidx.recyclerview.widget.SimpleItemAnimator; |
| 12 | 12 | ||
| 13 | -import com.people.comment.R; | ||
| 14 | -import com.people.comment.adapter.CommentListAdapter; | ||
| 15 | -import com.people.comment.bean.CommentClickShowType; | ||
| 16 | -import com.people.comment.comment.vm.CommentViewModel; | ||
| 17 | -import com.people.comment.dialog.CommentCommitDialog; | ||
| 18 | -import com.people.comment.listener.CommitDialogListener; | 13 | +import com.wd.comment.R; |
| 14 | +import com.wd.comment.adapter.CommentListAdapter; | ||
| 15 | +import com.wd.comment.bean.CommentClickShowType; | ||
| 16 | +import com.wd.comment.comment.vm.CommentViewModel; | ||
| 17 | +import com.wd.comment.dialog.CommentCommitDialog; | ||
| 18 | +import com.wd.comment.listener.CommitDialogListener; | ||
| 19 | import com.scwang.smart.refresh.layout.api.RefreshLayout; | 19 | import com.scwang.smart.refresh.layout.api.RefreshLayout; |
| 20 | import com.scwang.smart.refresh.layout.listener.OnLoadMoreListener; | 20 | import com.scwang.smart.refresh.layout.listener.OnLoadMoreListener; |
| 21 | import com.wd.foundation.wdkit.constant.EventConstants; | 21 | import com.wd.foundation.wdkit.constant.EventConstants; |
| 1 | -package com.people.comment.fragment; | 1 | +package com.wd.comment.fragment; |
| 2 | 2 | ||
| 3 | import android.content.res.Configuration; | 3 | import android.content.res.Configuration; |
| 4 | import android.os.Bundle; | 4 | import android.os.Bundle; |
| @@ -18,15 +18,15 @@ import androidx.recyclerview.widget.GridLayoutManager; | @@ -18,15 +18,15 @@ import androidx.recyclerview.widget.GridLayoutManager; | ||
| 18 | import androidx.recyclerview.widget.RecyclerView; | 18 | import androidx.recyclerview.widget.RecyclerView; |
| 19 | import androidx.recyclerview.widget.SimpleItemAnimator; | 19 | import androidx.recyclerview.widget.SimpleItemAnimator; |
| 20 | 20 | ||
| 21 | -import com.people.comment.R; | ||
| 22 | -import com.people.comment.bean.CommentClickShowType; | ||
| 23 | -import com.people.comment.comment.vm.CommentViewModel; | ||
| 24 | -import com.people.comment.commonpage.TemplatePageDataFetcher; | ||
| 25 | -import com.people.comment.commonpage.TemplatePageDataListener; | ||
| 26 | -import com.people.comment.commonpage.TemplatePageDataViewModel; | ||
| 27 | -import com.people.comment.dialog.CommentCommitDialog; | ||
| 28 | -import com.people.comment.listener.CommitDialogListener; | ||
| 29 | -import com.people.room.entity.ChannelBean; | 21 | +import com.wd.comment.R; |
| 22 | +import com.wd.comment.bean.CommentClickShowType; | ||
| 23 | +import com.wd.comment.comment.vm.CommentViewModel; | ||
| 24 | +import com.wd.comment.commonpage.TemplatePageDataFetcher; | ||
| 25 | +import com.wd.comment.commonpage.TemplatePageDataListener; | ||
| 26 | +import com.wd.comment.commonpage.TemplatePageDataViewModel; | ||
| 27 | +import com.wd.comment.dialog.CommentCommitDialog; | ||
| 28 | +import com.wd.comment.listener.CommitDialogListener; | ||
| 29 | +import com.wd.room.entity.ChannelBean; | ||
| 30 | import com.scwang.smart.refresh.layout.api.RefreshLayout; | 30 | import com.scwang.smart.refresh.layout.api.RefreshLayout; |
| 31 | import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener; | 31 | import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener; |
| 32 | import com.wd.base.log.Logger; | 32 | import com.wd.base.log.Logger; |
| @@ -1266,11 +1266,11 @@ public class TemplateFragment extends BaseAutoLazyFragment implements OnRefreshL | @@ -1266,11 +1266,11 @@ public class TemplateFragment extends BaseAutoLazyFragment implements OnRefreshL | ||
| 1266 | //删除评论 | 1266 | //删除评论 |
| 1267 | else if (showType == CommentClickShowType.delete) { | 1267 | else if (showType == CommentClickShowType.delete) { |
| 1268 | new AlertDialog(getActivity()).builder() | 1268 | new AlertDialog(getActivity()).builder() |
| 1269 | - .setTitle(ResUtils.getString(com.people.comment.R.string.del_comment_tip)) | ||
| 1270 | - .setPositiveButton(ResUtils.getString(com.people.comment.R.string.res_cancel), v -> { | 1269 | + .setTitle(ResUtils.getString(com.wd.comment.R.string.del_comment_tip)) |
| 1270 | + .setPositiveButton(ResUtils.getString(com.wd.comment.R.string.res_cancel), v -> { | ||
| 1271 | 1271 | ||
| 1272 | }) | 1272 | }) |
| 1273 | - .setNegativeButton(ResUtils.getString(com.people.comment.R.string.yes_btn), v -> { | 1273 | + .setNegativeButton(ResUtils.getString(com.wd.comment.R.string.yes_btn), v -> { |
| 1274 | delComment(selectCompBean, position); | 1274 | delComment(selectCompBean, position); |
| 1275 | }) | 1275 | }) |
| 1276 | .show(); | 1276 | .show(); |
| @@ -1284,9 +1284,9 @@ public class TemplateFragment extends BaseAutoLazyFragment implements OnRefreshL | @@ -1284,9 +1284,9 @@ public class TemplateFragment extends BaseAutoLazyFragment implements OnRefreshL | ||
| 1284 | } | 1284 | } |
| 1285 | //是否复制成功 | 1285 | //是否复制成功 |
| 1286 | if (isCopySuccess) { | 1286 | if (isCopySuccess) { |
| 1287 | - ToastNightUtil.showShort(ResUtils.getString(com.people.comment.R.string.comment_copy_success)); | 1287 | + ToastNightUtil.showShort(ResUtils.getString(com.wd.comment.R.string.comment_copy_success)); |
| 1288 | } else { | 1288 | } else { |
| 1289 | - ToastNightUtil.showShort(ResUtils.getString(com.people.comment.R.string.comment_copy_fail)); | 1289 | + ToastNightUtil.showShort(ResUtils.getString(com.wd.comment.R.string.comment_copy_fail)); |
| 1290 | } | 1290 | } |
| 1291 | } | 1291 | } |
| 1292 | //举报 | 1292 | //举报 |
| 1 | 1 | ||
| 2 | -package com.people.comment.helper; | 2 | +package com.wd.comment.helper; |
| 3 | 3 | ||
| 4 | import android.text.TextUtils; | 4 | import android.text.TextUtils; |
| 5 | 5 | ||
| 6 | -import com.people.comment.adapter.MyCommentListAdapter; | ||
| 7 | -import com.people.comment.comment.vm.CommentViewModel; | ||
| 8 | -import com.people.comment.listener.BatchMyCommentListLikeStatusListener; | 6 | +import com.wd.comment.adapter.MyCommentListAdapter; |
| 7 | +import com.wd.comment.comment.vm.CommentViewModel; | ||
| 8 | +import com.wd.comment.listener.BatchMyCommentListLikeStatusListener; | ||
| 9 | import com.wd.foundation.bean.comment.CommentStatusBean; | 9 | import com.wd.foundation.bean.comment.CommentStatusBean; |
| 10 | import com.wd.foundation.bean.custom.content.CommentItem; | 10 | import com.wd.foundation.bean.custom.content.CommentItem; |
| 11 | import com.wd.foundation.wdkit.utils.CommonUtil; | 11 | import com.wd.foundation.wdkit.utils.CommonUtil; |
| 1 | -package com.people.comment.manager; | 1 | +package com.wd.comment.manager; |
| 2 | 2 | ||
| 3 | import android.animation.Animator; | 3 | import android.animation.Animator; |
| 4 | import android.annotation.SuppressLint; | 4 | import android.annotation.SuppressLint; |
| @@ -20,17 +20,17 @@ import androidx.viewpager.widget.ViewPager; | @@ -20,17 +20,17 @@ import androidx.viewpager.widget.ViewPager; | ||
| 20 | import com.airbnb.lottie.LottieAnimationView; | 20 | import com.airbnb.lottie.LottieAnimationView; |
| 21 | import com.airbnb.lottie.LottieDrawable; | 21 | import com.airbnb.lottie.LottieDrawable; |
| 22 | import com.wd.base.log.Logger; | 22 | import com.wd.base.log.Logger; |
| 23 | -import com.people.comment.R; | ||
| 24 | -import com.people.comment.adapter.ExpressionGridViewAdapter; | ||
| 25 | -import com.people.comment.adapter.ExpressionPagerAdapter; | ||
| 26 | -import com.people.comment.adapter.ImageAdapter; | ||
| 27 | -import com.people.comment.bean.CommentEventBean; | ||
| 28 | -import com.people.comment.bean.EmojiEntity; | ||
| 29 | -import com.people.comment.comment.listener.AliTokenListener; | ||
| 30 | -import com.people.comment.comment.model.GetAliTokenFetcher; | ||
| 31 | -import com.people.comment.listener.SpeechResultCallback; | ||
| 32 | -import com.people.comment.utils.KeyBoardObserver; | ||
| 33 | -import com.people.comment.utils.KeyboardHelper; | 23 | +import com.wd.comment.R; |
| 24 | +import com.wd.comment.adapter.ExpressionGridViewAdapter; | ||
| 25 | +import com.wd.comment.adapter.ExpressionPagerAdapter; | ||
| 26 | +import com.wd.comment.adapter.ImageAdapter; | ||
| 27 | +import com.wd.comment.bean.CommentEventBean; | ||
| 28 | +import com.wd.comment.bean.EmojiEntity; | ||
| 29 | +import com.wd.comment.comment.listener.AliTokenListener; | ||
| 30 | +import com.wd.comment.comment.model.GetAliTokenFetcher; | ||
| 31 | +import com.wd.comment.listener.SpeechResultCallback; | ||
| 32 | +import com.wd.comment.utils.KeyBoardObserver; | ||
| 33 | +import com.wd.comment.utils.KeyboardHelper; | ||
| 34 | import com.wd.common.permissions.IPmsCallBack; | 34 | import com.wd.common.permissions.IPmsCallBack; |
| 35 | import com.wd.common.permissions.PermissionsUtils; | 35 | import com.wd.common.permissions.PermissionsUtils; |
| 36 | import com.wd.common.widget.InnerGridView; | 36 | import com.wd.common.widget.InnerGridView; |
| @@ -201,7 +201,7 @@ public class ExpressionManager implements KeyBoardObserver { | @@ -201,7 +201,7 @@ public class ExpressionManager implements KeyBoardObserver { | ||
| 201 | public void start() { | 201 | public void start() { |
| 202 | ThreadPoolUtils.postToMain(() -> { | 202 | ThreadPoolUtils.postToMain(() -> { |
| 203 | isRecording = true; | 203 | isRecording = true; |
| 204 | - voiceBottomTip.setText(com.people.speech.R.string.dialog_comment_stop_tips); | 204 | + voiceBottomTip.setText(com.wd.speech.R.string.dialog_comment_stop_tips); |
| 205 | startVoiceInputAnimation(); | 205 | startVoiceInputAnimation(); |
| 206 | }); | 206 | }); |
| 207 | } | 207 | } |
| @@ -211,9 +211,9 @@ public class ExpressionManager implements KeyBoardObserver { | @@ -211,9 +211,9 @@ public class ExpressionManager implements KeyBoardObserver { | ||
| 211 | ThreadPoolUtils.postToMain(() -> { | 211 | ThreadPoolUtils.postToMain(() -> { |
| 212 | voicePressUpLift(); | 212 | voicePressUpLift(); |
| 213 | if(StringUtils.isEmpty(editText.getText().toString())){ | 213 | if(StringUtils.isEmpty(editText.getText().toString())){ |
| 214 | - voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.str_no_voice_recognized_tips)); | 214 | + voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.str_no_voice_recognized_tips)); |
| 215 | }else { | 215 | }else { |
| 216 | - voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.dialog_comment_long_an)); | 216 | + voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.dialog_comment_long_an)); |
| 217 | } | 217 | } |
| 218 | Logger.t("ExpressionManager").d("识别暂停"); | 218 | Logger.t("ExpressionManager").d("识别暂停"); |
| 219 | }); | 219 | }); |
| @@ -223,7 +223,7 @@ public class ExpressionManager implements KeyBoardObserver { | @@ -223,7 +223,7 @@ public class ExpressionManager implements KeyBoardObserver { | ||
| 223 | public void error() { | 223 | public void error() { |
| 224 | ThreadPoolUtils.postToMain(() -> { | 224 | ThreadPoolUtils.postToMain(() -> { |
| 225 | voicePressUpLift(); | 225 | voicePressUpLift(); |
| 226 | - voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.str_no_voice_recognized_tips)); | 226 | + voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.str_no_voice_recognized_tips)); |
| 227 | }); | 227 | }); |
| 228 | } | 228 | } |
| 229 | 229 | ||
| @@ -232,7 +232,7 @@ public class ExpressionManager implements KeyBoardObserver { | @@ -232,7 +232,7 @@ public class ExpressionManager implements KeyBoardObserver { | ||
| 232 | ThreadPoolUtils.postToMain(() -> { | 232 | ThreadPoolUtils.postToMain(() -> { |
| 233 | appendString(result); | 233 | appendString(result); |
| 234 | voicePressUpLift(); | 234 | voicePressUpLift(); |
| 235 | - voiceBottomTip.setText(ResUtils.getString(com.people.speech.R.string.dialog_comment_long_an)); | 235 | + voiceBottomTip.setText(ResUtils.getString(com.wd.speech.R.string.dialog_comment_long_an)); |
| 236 | }); | 236 | }); |
| 237 | } | 237 | } |
| 238 | }); | 238 | }); |
| 1 | -package com.people.comment.manager; | 1 | +package com.wd.comment.manager; |
| 2 | 2 | ||
| 3 | import android.annotation.SuppressLint; | 3 | import android.annotation.SuppressLint; |
| 4 | import android.content.Context; | 4 | import android.content.Context; |
| @@ -22,9 +22,9 @@ import com.alibaba.idst.nui.INativeNuiCallback; | @@ -22,9 +22,9 @@ import com.alibaba.idst.nui.INativeNuiCallback; | ||
| 22 | import com.alibaba.idst.nui.KwsResult; | 22 | import com.alibaba.idst.nui.KwsResult; |
| 23 | import com.alibaba.idst.nui.NativeNui; | 23 | import com.alibaba.idst.nui.NativeNui; |
| 24 | import com.wd.base.log.Logger; | 24 | import com.wd.base.log.Logger; |
| 25 | -import com.people.comment.listener.SpeechResultCallback; | ||
| 26 | -import com.people.speech.Auth; | ||
| 27 | -import com.people.speech.Utils; | 25 | +import com.wd.comment.listener.SpeechResultCallback; |
| 26 | +import com.wd.speech.Auth; | ||
| 27 | +import com.wd.speech.Utils; | ||
| 28 | import com.wd.common.callback.RouterCallBack; | 28 | import com.wd.common.callback.RouterCallBack; |
| 29 | import com.wd.common.permissions.IPmsCallBack; | 29 | import com.wd.common.permissions.IPmsCallBack; |
| 30 | import com.wd.common.permissions.PermissionsUtils; | 30 | import com.wd.common.permissions.PermissionsUtils; |
| 1 | -package com.people.comment.utils; | 1 | +package com.wd.comment.utils; |
| 2 | 2 | ||
| 3 | import android.app.Activity; | 3 | import android.app.Activity; |
| 4 | import android.view.View; | 4 | import android.view.View; |
| 5 | 5 | ||
| 6 | import androidx.appcompat.widget.AppCompatTextView; | 6 | import androidx.appcompat.widget.AppCompatTextView; |
| 7 | 7 | ||
| 8 | -import com.people.comment.R; | ||
| 9 | -import com.people.comment.bean.CommentClickShowType; | ||
| 10 | -import com.people.comment.listener.CommentClickListener; | ||
| 11 | -import com.people.comment.view.easy_pop.EasyPopup; | ||
| 12 | -import com.people.comment.view.easy_pop.XGravity; | ||
| 13 | -import com.people.comment.view.easy_pop.YGravity; | 8 | +import com.wd.comment.R; |
| 9 | +import com.wd.comment.bean.CommentClickShowType; | ||
| 10 | +import com.wd.comment.listener.CommentClickListener; | ||
| 11 | +import com.wd.comment.view.easy_pop.EasyPopup; | ||
| 12 | +import com.wd.comment.view.easy_pop.XGravity; | ||
| 13 | +import com.wd.comment.view.easy_pop.YGravity; | ||
| 14 | import com.wd.foundation.wdkit.utils.PDUtils; | 14 | import com.wd.foundation.wdkit.utils.PDUtils; |
| 15 | import com.wd.common.utils.ProcessUtils; | 15 | import com.wd.common.utils.ProcessUtils; |
| 16 | import com.wd.foundation.wdkitcore.tools.AppContext; | 16 | import com.wd.foundation.wdkitcore.tools.AppContext; |
| 1 | -package com.people.comment.utils; | 1 | +package com.wd.comment.utils; |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | import android.graphics.Bitmap; | 4 | import android.graphics.Bitmap; |
| 5 | import android.graphics.Canvas; | 5 | import android.graphics.Canvas; |
| 6 | import android.graphics.Paint; | 6 | import android.graphics.Paint; |
| 7 | 7 | ||
| 8 | -import com.people.comment.R; | 8 | +import com.wd.comment.R; |
| 9 | import com.wd.foundation.wdkit.utils.UiUtils; | 9 | import com.wd.foundation.wdkit.utils.UiUtils; |
| 10 | import com.wd.foundation.wdkitcore.tools.ResUtils; | 10 | import com.wd.foundation.wdkitcore.tools.ResUtils; |
| 11 | 11 |
| 1 | -package com.people.comment.utils; | 1 | +package com.wd.comment.utils; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.view.View; | 4 | import android.view.View; |
| 5 | 5 | ||
| 6 | import androidx.annotation.NonNull; | 6 | import androidx.annotation.NonNull; |
| 7 | 7 | ||
| 8 | -import com.people.comment.view.SharedPreferencesUtils; | 8 | +import com.wd.comment.view.SharedPreferencesUtils; |
| 9 | 9 | ||
| 10 | import java.util.ArrayList; | 10 | import java.util.ArrayList; |
| 11 | import java.util.List; | 11 | import java.util.List; |
| 1 | -package com.people.comment.view; | 1 | +package com.wd.comment.view; |
| 2 | 2 | ||
| 3 | import android.annotation.SuppressLint; | 3 | import android.annotation.SuppressLint; |
| 4 | import android.content.Context; | 4 | import android.content.Context; |
| @@ -9,7 +9,7 @@ import android.graphics.Path; | @@ -9,7 +9,7 @@ import android.graphics.Path; | ||
| 9 | import android.util.AttributeSet; | 9 | import android.util.AttributeSet; |
| 10 | import android.view.View; | 10 | import android.view.View; |
| 11 | 11 | ||
| 12 | -import com.people.comment.R; | 12 | +import com.wd.comment.R; |
| 13 | 13 | ||
| 14 | /** | 14 | /** |
| 15 | * @author LiuKun | 15 | * @author LiuKun |
| 1 | -package com.people.comment.view; | 1 | +package com.wd.comment.view; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.util.AttributeSet; | 4 | import android.util.AttributeSet; |
| 5 | import android.widget.FrameLayout; | 5 | import android.widget.FrameLayout; |
| 6 | 6 | ||
| 7 | -import com.people.comment.utils.KeyBoardObservable; | 7 | +import com.wd.comment.utils.KeyBoardObservable; |
| 8 | 8 | ||
| 9 | /** | 9 | /** |
| 10 | * @author LiuKun | 10 | * @author LiuKun |
| 1 | -package com.people.comment.view; | 1 | +package com.wd.comment.view; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.content.res.TypedArray; | 4 | import android.content.res.TypedArray; |
| @@ -17,7 +17,7 @@ import android.util.AttributeSet; | @@ -17,7 +17,7 @@ import android.util.AttributeSet; | ||
| 17 | 17 | ||
| 18 | import androidx.appcompat.widget.AppCompatImageView; | 18 | import androidx.appcompat.widget.AppCompatImageView; |
| 19 | 19 | ||
| 20 | -import com.people.comment.R; | 20 | +import com.wd.comment.R; |
| 21 | import com.wd.common.widget.image.ImageType; | 21 | import com.wd.common.widget.image.ImageType; |
| 22 | 22 | ||
| 23 | import java.util.Arrays; | 23 | import java.util.Arrays; |
| 1 | -package com.people.comment.view.easy_pop; | 1 | +package com.wd.comment.view.easy_pop; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.content.res.TypedArray; | 4 | import android.content.res.TypedArray; |
| @@ -14,7 +14,7 @@ import android.widget.FrameLayout; | @@ -14,7 +14,7 @@ import android.widget.FrameLayout; | ||
| 14 | 14 | ||
| 15 | import androidx.core.content.ContextCompat; | 15 | import androidx.core.content.ContextCompat; |
| 16 | 16 | ||
| 17 | -import com.people.comment.R; | 17 | +import com.wd.comment.R; |
| 18 | 18 | ||
| 19 | /** | 19 | /** |
| 20 | * @author prim | 20 | * @author prim |
| 1 | -package com.people.comment.view_holder; | 1 | +package com.wd.comment.view_holder; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.os.Build; | 4 | import android.os.Build; |
| @@ -16,8 +16,8 @@ import androidx.annotation.NonNull; | @@ -16,8 +16,8 @@ import androidx.annotation.NonNull; | ||
| 16 | import androidx.core.content.ContextCompat; | 16 | import androidx.core.content.ContextCompat; |
| 17 | import androidx.recyclerview.widget.RecyclerView; | 17 | import androidx.recyclerview.widget.RecyclerView; |
| 18 | 18 | ||
| 19 | -import com.people.comment.R; | ||
| 20 | -import com.people.comment.adapter.CommentListAdapter; | 19 | +import com.wd.comment.R; |
| 20 | +import com.wd.comment.adapter.CommentListAdapter; | ||
| 21 | import com.wd.foundation.wdkit.imageglide.ImageUtils; | 21 | import com.wd.foundation.wdkit.imageglide.ImageUtils; |
| 22 | import com.wd.foundation.wdkit.utils.FontSettingUtil; | 22 | import com.wd.foundation.wdkit.utils.FontSettingUtil; |
| 23 | import com.wd.common.utils.TimeTools; | 23 | import com.wd.common.utils.TimeTools; |
| 1 | -package com.people.comment.view_holder; | 1 | +package com.wd.comment.view_holder; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.os.Build; | 4 | import android.os.Build; |
| @@ -16,8 +16,8 @@ import androidx.annotation.NonNull; | @@ -16,8 +16,8 @@ import androidx.annotation.NonNull; | ||
| 16 | import androidx.core.content.ContextCompat; | 16 | import androidx.core.content.ContextCompat; |
| 17 | import androidx.recyclerview.widget.RecyclerView; | 17 | import androidx.recyclerview.widget.RecyclerView; |
| 18 | 18 | ||
| 19 | -import com.people.comment.R; | ||
| 20 | -import com.people.comment.adapter.CommentListAdapter; | 19 | +import com.wd.comment.R; |
| 20 | +import com.wd.comment.adapter.CommentListAdapter; | ||
| 21 | import com.wd.foundation.wdkit.imageglide.ImageUtils; | 21 | import com.wd.foundation.wdkit.imageglide.ImageUtils; |
| 22 | import com.wd.foundation.wdkit.utils.FontSettingUtil; | 22 | import com.wd.foundation.wdkit.utils.FontSettingUtil; |
| 23 | import com.wd.common.utils.TimeTools; | 23 | import com.wd.common.utils.TimeTools; |
| 1 | -package com.people.comment.view_holder; | 1 | +package com.wd.comment.view_holder; |
| 2 | 2 | ||
| 3 | import android.view.View; | 3 | import android.view.View; |
| 4 | import android.widget.TextView; | 4 | import android.widget.TextView; |
| 5 | import androidx.annotation.NonNull; | 5 | import androidx.annotation.NonNull; |
| 6 | import androidx.recyclerview.widget.RecyclerView; | 6 | import androidx.recyclerview.widget.RecyclerView; |
| 7 | -import com.people.comment.R; | 7 | +import com.wd.comment.R; |
| 8 | import com.wd.foundation.bean.custom.content.CommentItem; | 8 | import com.wd.foundation.bean.custom.content.CommentItem; |
| 9 | 9 | ||
| 10 | /** | 10 | /** |
| 1 | -package com.people.comment.view_holder; | 1 | +package com.wd.comment.view_holder; |
| 2 | 2 | ||
| 3 | import android.view.View; | 3 | import android.view.View; |
| 4 | 4 | ||
| 5 | import androidx.recyclerview.widget.RecyclerView; | 5 | import androidx.recyclerview.widget.RecyclerView; |
| 6 | 6 | ||
| 7 | -import com.people.comment.R; | 7 | +import com.wd.comment.R; |
| 8 | import com.wd.foundation.wdkit.view.DefaultView; | 8 | import com.wd.foundation.wdkit.view.DefaultView; |
| 9 | import com.wd.foundation.wdkit.constant.DefaultViewConstant; | 9 | import com.wd.foundation.wdkit.constant.DefaultViewConstant; |
| 10 | 10 |
| 1 | -package com.people.comment.view_holder; | 1 | +package com.wd.comment.view_holder; |
| 2 | 2 | ||
| 3 | import android.text.TextUtils; | 3 | import android.text.TextUtils; |
| 4 | import android.view.View; | 4 | import android.view.View; |
| @@ -7,8 +7,8 @@ import android.widget.TextView; | @@ -7,8 +7,8 @@ import android.widget.TextView; | ||
| 7 | 7 | ||
| 8 | import androidx.recyclerview.widget.RecyclerView; | 8 | import androidx.recyclerview.widget.RecyclerView; |
| 9 | 9 | ||
| 10 | -import com.people.comment.R; | ||
| 11 | -import com.people.comment.adapter.CommentListAdapter; | 10 | +import com.wd.comment.R; |
| 11 | +import com.wd.comment.adapter.CommentListAdapter; | ||
| 12 | import com.wd.foundation.wdkit.viewclick.BaseClickListener; | 12 | import com.wd.foundation.wdkit.viewclick.BaseClickListener; |
| 13 | 13 | ||
| 14 | /** | 14 | /** |
| 1 | -package com.people.comment.view_holder; | 1 | +package com.wd.comment.view_holder; |
| 2 | 2 | ||
| 3 | import android.text.TextUtils; | 3 | import android.text.TextUtils; |
| 4 | import android.view.View; | 4 | import android.view.View; |
| @@ -6,8 +6,8 @@ import android.widget.TextView; | @@ -6,8 +6,8 @@ import android.widget.TextView; | ||
| 6 | 6 | ||
| 7 | import androidx.recyclerview.widget.RecyclerView; | 7 | import androidx.recyclerview.widget.RecyclerView; |
| 8 | 8 | ||
| 9 | -import com.people.comment.R; | ||
| 10 | -import com.people.comment.adapter.CommentListAdapter; | 9 | +import com.wd.comment.R; |
| 10 | +import com.wd.comment.adapter.CommentListAdapter; | ||
| 11 | import com.wd.foundation.wdkitcore.tools.AppContext; | 11 | import com.wd.foundation.wdkitcore.tools.AppContext; |
| 12 | 12 | ||
| 13 | /** | 13 | /** |
| @@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
| 39 | tools:visibility="visible" | 39 | tools:visibility="visible" |
| 40 | android:background="@color/res_color_common_C8"> | 40 | android:background="@color/res_color_common_C8"> |
| 41 | 41 | ||
| 42 | - <com.people.comment.view.ShapedImageView | 42 | + <com.wd.comment.view.ShapedImageView |
| 43 | android:id="@+id/cd_iv_img" | 43 | android:id="@+id/cd_iv_img" |
| 44 | android:layout_width="match_parent" | 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="match_parent" | 45 | android:layout_height="match_parent" |
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | android:background="@drawable/res_shape_white_fix_background_disappearance_issue" | 7 | android:background="@drawable/res_shape_white_fix_background_disappearance_issue" |
| 8 | android:descendantFocusability="blocksDescendants" | 8 | android:descendantFocusability="blocksDescendants" |
| 9 | android:orientation="vertical" | 9 | android:orientation="vertical" |
| 10 | - tools:context="com.people.comment.fragment.CommentFragment"> | 10 | + tools:context="com.wd.comment.fragment.CommentFragment"> |
| 11 | 11 | ||
| 12 | <RelativeLayout | 12 | <RelativeLayout |
| 13 | android:id="@+id/rltop" | 13 | android:id="@+id/rltop" |
| @@ -213,7 +213,7 @@ | @@ -213,7 +213,7 @@ | ||
| 213 | tools:background="@color/blue_theme_bg" | 213 | tools:background="@color/blue_theme_bg" |
| 214 | > | 214 | > |
| 215 | 215 | ||
| 216 | - <com.people.comment.view.ShapedImageView | 216 | + <com.wd.comment.view.ShapedImageView |
| 217 | android:id="@+id/commentHead_Iv" | 217 | android:id="@+id/commentHead_Iv" |
| 218 | android:layout_width="@dimen/rmrb_dp54" | 218 | android:layout_width="@dimen/rmrb_dp54" |
| 219 | android:layout_height="@dimen/rmrb_dp54" | 219 | android:layout_height="@dimen/rmrb_dp54" |
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | android:layout_marginBottom="@dimen/rmrb_dp15" | 32 | android:layout_marginBottom="@dimen/rmrb_dp15" |
| 33 | android:layout_marginTop="@dimen/rmrb_dp15"> | 33 | android:layout_marginTop="@dimen/rmrb_dp15"> |
| 34 | 34 | ||
| 35 | - <com.people.comment.view.CommentVoiceLineView | 35 | + <com.wd.comment.view.CommentVoiceLineView |
| 36 | android:id="@+id/dv_view_voice_line" | 36 | android:id="@+id/dv_view_voice_line" |
| 37 | android:layout_width="match_parent" | 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="@dimen/rmrb_dp120" | 38 | android:layout_height="@dimen/rmrb_dp120" |
| 1 | -package com.people.location; | 1 | +package com.wd.location; |
| 2 | 2 | ||
| 3 | import android.content.Context; | 3 | import android.content.Context; |
| 4 | import android.support.test.InstrumentationRegistry; | 4 | import android.support.test.InstrumentationRegistry; |
| @@ -20,6 +20,6 @@ public class ExampleInstrumentedTest { | @@ -20,6 +20,6 @@ public class ExampleInstrumentedTest { | ||
| 20 | public void useAppContext() { | 20 | public void useAppContext() { |
| 21 | // Context of the app under test. | 21 | // Context of the app under test. |
| 22 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); | 22 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); |
| 23 | - assertEquals("com.people.location.test", appContext.getPackageName()); | 23 | + assertEquals("com.wd.location.test", appContext.getPackageName()); |
| 24 | } | 24 | } |
| 25 | } | 25 | } |
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | - package="com.people.location"> | 3 | + package="com.wd.location"> |
| 4 | 4 | ||
| 5 | <application> | 5 | <application> |
| 6 | <activity | 6 | <activity |
| 7 | - android:name=".ChooseAddressActivity" | 7 | + android:name="com.wd.location.ChooseAddressActivity" |
| 8 | android:exported="false" | 8 | android:exported="false" |
| 9 | android:launchMode="singleTask" | 9 | android:launchMode="singleTask" |
| 10 | android:screenOrientation="portrait" /> | 10 | android:screenOrientation="portrait" /> |
-
Please register or login to post a comment