logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

kotlin如何在Fragment中使用getFragementManager()

在把java代码转换成kotlin的过程中,发现kotlin的一些代码逻辑和java不同。在Fragment的ViewHolder,onCreateViewHolder中,java可以通过getFragementManager().findFragmentById()来获取某一个Fragment实例。但是这个方法在kotlin中无效,根本就调用不了这个方法。那么怎么获得这个实例呢,只能通过...

[Flutter]UI Guide

s that are triggered when the user taps the widge  二.Stateless widgets & StatefulWidgetsStateless widgets receive arguments from their parent widget, which they store in final member variables

#移动开发#ui
[MySQL]如何修改MySQL8.0端口(centos 7)

nano /etc/my.cnf[mysqld]port=12345添加以上port的设置运行服务:systemctl restart mysqld.service再检查下端口:netstat -nltp

#mysql
[MySQL]ERROR 1822 : Failed to add the foreign key constraint. Missing index for

N_PERSONS` (`GUID`)ON DELETE NO ACTIONON UPDATE NO ACTION;报错:Error Code: 1822. Failed to add the foreign key constraint. Missing index for constraint 'FAS_CABINET_FK01' in the referenced table 'COMMON

(转)[homebrew]安装报错curl: Failed to connect to raw.githubusercontent.com port:443

转自:https://www.jianshu.com/p/68efabd2e32b eact native搭建环境,安装homebrew的时候,在终端输入/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"提示:c...

[docker]Docker-Compose: “Can‘t find a suitable configuration file in this directory or any parent”

不能删除image,lando rebuild不成功, docker的旧db一直占用端口, 但是删除image的时候报错docker出现此错误有可能是因为更新了lando.yml后就rebuild,其实这样顺序是错误的应该先用原来的lando.yml来destroy,然后再用新的lando.yml来rebuild...

[docker]如何安装docker的以前版本

参考:https://stackoverflow.com/questions/62217678/can-i-roll-back-to-a-previous-version-of-docker-desktop在https://docs.docker.com/docker-for-mac/release-notes/#docker-desktop-community-2501下可以选择版本

#docker
eclipse导入项目:没有找到项目

In my case when i am trying to import my existing perforce project , it gives error no project found on windows machine. On linux i was able to import project nicely.For Eclipse Kepler, i have done...

(转)SwitchyOmega规则列表

转自:https://blog.csdn.net/m0_38128647/article/details/79645516https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt

(转)【ios】判断UITextField.text是否为空

转自:http://bbs.9ria.com/thread-235206-1-1.html 判断NSString字符串为空几乎是每一个开发人员肯定会碰到的问题,对于绝大多数人最先闪过大脑的是下面的方法if([yourTextString isEqualToString:@""])复制代码但是很遗憾,这样的判断往往经常会出现失败的情况,造成很多莫名其妙的bug,例如...

#ios
    共 19 条
  • 1
  • 2
  • 请选择