Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提 issue 需知 #20

Closed
getActivity opened this issue Mar 11, 2019 · 23 comments
Closed

提 issue 需知 #20

getActivity opened this issue Mar 11, 2019 · 23 comments

Comments

@getActivity
Copy link
Owner

getActivity commented Mar 11, 2019

Github沟通效率实在是很低下,大家伙有问题或者Bug直接到Q群78797078私信给我反馈就OK,我会尽快答复你的问题

@getActivity getActivity pinned this issue Mar 11, 2019
@zhulujiang
Copy link

项目不错,希望SettingBar里面像qq那样能把红点加进去就完美了

@getActivity
Copy link
Owner Author

你把 SettingBar 当做 FrameLayout 去用就可以了

@sfy666666
Copy link

群怎么被禁言了,想问问题也问不了。。

@getActivity
Copy link
Owner Author

私信我即可

@LittleStart-007
Copy link

底部BottomNavigationView 长按会弹Toast

@getActivity
Copy link
Owner Author

这个是 Google 写死的,没办法关闭

@outsis
Copy link

outsis commented Mar 21, 2020

嵌套太多层了,只想要一部分功能,却被迫引入全部的东西

@getActivity
Copy link
Owner Author

多谢建议哈,你可以把自己需要那一部分复制到项目中

@SmallWinter
Copy link

首先感谢大神辛劳!
提一个问题:InputDialog的方法(继承自BaseDialog):
public void onDismiss(BaseDialog dialog){
getSystemService(InputMethodManager.class).hideSoftInputFromWindow(this.getCurrentFocus().getWindowToken(), 0);
} 隐藏输入法不会生效(mInput.getCurrentWondowToken()一样)。

个人拙见:隐藏输入法必须在父类方法onDismiss()之前,不然dialog被销毁之后拿不到令牌,可能就会导致无法正确隐藏输入法。

@getActivity
Copy link
Owner Author

多谢小伙子提醒,我纠正了一下,在 BaseDialog dismiss 之前先隐藏输入法。

@zjc163
Copy link

zjc163 commented Apr 17, 2021

Demo里面是不是缺了类com.hjq.demo.http.glide.GlideApp,报错了

@getActivity
Copy link
Owner Author

@zjc163 这个类是 Gradle 编译时生成的,你不用管,直接运行项目即可。

@LiuXingzhou
Copy link

考不考虑用上ViewBinding呀

@getActivity
Copy link
Owner Author

@LiuXingzhou 小伙子,暂时不考虑,原因在常见疑问上面有写了

@Pandaqing
Copy link

Demo中点开选择图片然后关闭,有内存泄漏?
├─ android.view.inputmethod.InputMethodManager class
│ Leaking: NO (InputMethodManager↓ is not leaking and a class is never leaking)
│ ↓ static InputMethodManager.sInstance
├─ android.view.inputmethod.InputMethodManager instance
│ Leaking: NO (InputMethodManager is a singleton)
│ Library leak match: instance field android.view.inputmethod.InputMethodManager#mLastSrvView
│ ↓ InputMethodManager.mLastSrvView
│ ~~~~~~~~~~~~
├─ com.hjq.demo.widget.StatusLayout instance
│ Leaking: YES (View.mContext references a destroyed activity)
│ Retaining 341625 bytes in 4540 objects
│ View not part of a window view hierarchy
│ View.mAttachInfo is null (view detached)
│ View.mID = R.id.hl_image_select_hint
│ View.mWindowAttachCount = 1
│ mContext instance of com.hjq.demo.ui.activity.ImageSelectActivity with mDestroyed = true
│ ↓ StatusLayout.mContext
╰→ com.hjq.demo.ui.activity.ImageSelectActivity instance
​ Leaking: YES (ObjectWatcher was watching this because com.hjq.demo.ui.activity.ImageSelectActivity received
​ Activity#onDestroy() callback and Activity#mDestroyed is true)
​ Retaining 44426 bytes in 826 objects
​ key = 13029545-1803-48a3-9d32-3c4d15464aed
​ watchDurationMillis = 5265
​ retainedDurationMillis = 263
​ mApplication instance of com.hjq.demo.app.AppApplication
​ mBase instance of androidx.appcompat.view.ContextThemeWrapper, not wrapping known Android context

@getActivity
Copy link
Owner Author

小伙子,我按照你说的方式去操作了多次,并没有复现出来你说的这个内存泄漏的问题

@Pandaqing
Copy link

小伙子,我按照你说的方式去操作了很多,而且你说的这个内存没有复现出来的问题

那就奇怪了,我直接下载的Demo运行,在手机上操作进入相片选择(选择图片或者不选择图片--我的 Fragment-->点我进入选择图片界面),然后按返回或则标题栏上面的返回,就会提示这个.

@HoanChen
Copy link

小伙子,我按照你说的方式去操作了很多,而且你说的这个内存没有复现出来的问题

那就奇怪了,我直接下载的Demo运行,在手机上操作进入相片选择(选择图片或者不选择图片--我的 Fragment-->点我进入选择图片界面),然后按返回或则标题栏上面的返回,就会提示这个.

刚轮哥发的最新的apk 体验了一把 流畅丝滑 你的这个问题我好像也碰到了

@githubnimabi
Copy link

大佬,技术中台该更新一下库了哈,例如EasyHttp还是用的10.2

@getActivity
Copy link
Owner Author

@githubnimabi 小伙子,目前 AndroidProject 的策略是半年更新一次,一次更新半年的量,因为在更新的过程中代码是不稳定的,所以不会提交任何代码到 Github 上面。

@CileCile
Copy link

请问下能否适配下折叠屏手机,太难了o(╥﹏╥)o

@cyl1996219
Copy link

内存泄漏:先点登入见面-》再点分享界面-》再点登入界面。一共可以触发两次

@getActivity
Copy link
Owner Author

@cyl1996219 小伙子,提问题请通过创建新的 issue 来提,这里不再处理任何问题。

@getActivity getActivity unpinned this issue Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests