Git Product home page Git Product logo

Comments (23)

Pandaqing avatar Pandaqing commented on July 25, 2024 1

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

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

from androidproject.

zhulujiang avatar zhulujiang commented on July 25, 2024

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

sfy666666 avatar sfy666666 commented on July 25, 2024

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

私信我即可

from androidproject.

LittleStart-007 avatar LittleStart-007 commented on July 25, 2024

底部BottomNavigationView 长按会弹Toast

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

outsis avatar outsis commented on July 25, 2024

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

SmallWinter avatar SmallWinter commented on July 25, 2024

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

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

zjc163 avatar zjc163 commented on July 25, 2024

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

LiuXingzhou avatar LiuXingzhou commented on July 25, 2024

考不考虑用上ViewBinding呀

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

Pandaqing avatar Pandaqing commented on July 25, 2024

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

HoanChen avatar HoanChen commented on July 25, 2024

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

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

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

from androidproject.

githubnimabi avatar githubnimabi commented on July 25, 2024

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

CileCile avatar CileCile commented on July 25, 2024

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

from androidproject.

cyl1996219 avatar cyl1996219 commented on July 25, 2024

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

from androidproject.

getActivity avatar getActivity commented on July 25, 2024

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

from androidproject.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.