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

石头:建议收集 (附上版本号) #32

Open
mylhyl opened this issue Dec 17, 2018 · 21 comments
Open

石头:建议收集 (附上版本号) #32

mylhyl opened this issue Dec 17, 2018 · 21 comments

Comments

@mylhyl
Copy link
Owner

mylhyl commented Dec 17, 2018

大家对Android-CircleDialog有什么好的建议,都可以在此留言

@flyjin
Copy link

flyjin commented Dec 24, 2018

为什么全屏时候弹这个会出现虚拟按键呢?

@mylhyl
Copy link
Owner Author

mylhyl commented Jan 3, 2019

为什么全屏时候弹这个会出现虚拟按键呢?

此问题是由于dialog获得了焦点导致的
v3.0.3已修复

@nightkyb
Copy link

nightkyb commented Jan 4, 2019

那个字符统计,可以按照一个中文算一个字符吗,或者能弄个设置,可以选择是按照2个字符还是一个字符统计?现在产品部已经把这个当成bug给我反馈了 =。=

@abcdisgreat
Copy link

@mylhyl 功能很全,赞
image
请问有什么方法分别设置每个item的文字颜色

@mylhyl
Copy link
Owner Author

mylhyl commented Apr 9, 2019

@abcdisgreat 你好,暂时还不支持,但是可以自定义adapter实现,请问使用场景是?

@abcdisgreat
Copy link

@mylhyl 使用场景就是这样底部弹窗,不同的选项设置对应的颜色,我试试自定义adapter

@mylhyl
Copy link
Owner Author

mylhyl commented Apr 22, 2019

@mylhyl 使用场景就是这样底部弹窗,不同的选项设置对应的颜色,我试试自定义adapter
v3.0.10已支持

@abcdisgreat
Copy link

感谢更新,

.setItemsViewBinder((CircleItemViewBinder<PictureTypeEntity>)
     (itemView, pictureTypeEntity, position17) -> {
        if (position17 % 2 == 0) {
           itemView.setTextColor(Color.RED);
        }
  })

我试了下demo里的方法,设置两个选项,会都变成红色,必须要加个

else{
    itemView.setTextColor(xxx);
}

@mylhyl
Copy link
Owner Author

mylhyl commented Apr 25, 2019

感谢更新,

.setItemsViewBinder((CircleItemViewBinder<PictureTypeEntity>)
     (itemView, pictureTypeEntity, position17) -> {
        if (position17 % 2 == 0) {
           itemView.setTextColor(Color.RED);
        }
  })

我试了下demo里的方法,设置两个选项,会都变成红色,必须要加个

else{
    itemView.setTextColor(xxx);
}

这是必须的,baseAdapter 的getview中 if else一定要正对出现,不然就会错乱

@abcdisgreat
Copy link

有更新好久没看,新版本的minSdkVersion为啥加到21了

@mylhyl
Copy link
Owner Author

mylhyl commented Jun 5, 2019

有更新好久没看,新版本的minSdkVersion为啥加到21了

CardView不兼容21以下,市面上21以下系统的机型已不是主流,干脆就升了21,其实也没必须升,换个思路实现

@SlandKiss
Copy link

错误: 无法访问RecyclerView
找不到androidx.recyclerview.widget.RecyclerView的类文件

@mylhyl
Copy link
Owner Author

mylhyl commented Jul 25, 2019

错误: 无法访问RecyclerView
找不到androidx.recyclerview.widget.RecyclerView的类文件

没有适配androidx的话,请使用v4版本

@cdcdec
Copy link

cdcdec commented Aug 21, 2019

标题和内容之间能加一条分割线吗?

@jinhuizxc
Copy link

show(getSupportFragmentManager())最后显示的部分似乎都是这个写法,这就造成了circleDialog的显示必须依赖于activity或者是fragment,能不能后期将dialog做成不依赖与界面,在其他类里面也可以自由调用呢?

@lmh19941113
Copy link

存在内存泄漏...

@mylhyl
Copy link
Owner Author

mylhyl commented Sep 5, 2019

标题和内容之间能加一条分割线吗?

@cdcdec
//如果 ConfigTitle 不能满足你,此监听器可以帮助你
.setOnCreateTitleListener(OnCreateTitleListener)

@walorwang
Copy link

popup 建议移除或者隐藏掉,使用其它第三方的

@mylhyl mylhyl changed the title 石头:建议收集 石头:建议收集 (附上版本号) Apr 27, 2020
@zjianflys
Copy link

是否有强制关闭所有显示弹窗 发现有时候在网络请求很多的情况下 偶尔会关闭不到弹窗

@mylhyl
Copy link
Owner Author

mylhyl commented Apr 30, 2021

是否有强制关闭所有显示弹窗 发现有时候在网络请求很多的情况下 偶尔会关闭不到弹窗

只能你自己来实现管理已弹出dialogs,装入集合遍历dismiss呗

@zjianflys
Copy link

我目前是这样处理的

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

10 participants