Forwarded from Deleted Account
这是全屏应用为就不能撑满左边呢, 我是新手啊,对特性和厂家标准不是很理解,那位大佬告知一下
Forwarded from Tsung @ionull Wu
很久没写过service,现在如果有后台权限的话,用户退出,service还跑吗
duangsues.is_a? SaltedFish
https://t.iss.one/c/1119363280/109316 #reveng ndk onCreate https://t.iss.one/c/1119363280/109356 #huawei homoOs( #旧事重提 https://t.iss.one/c/1119363280/109367 xposed #wechat https://t.iss.one/c/1119363280/109378 #china #robotic #旧事重提 光年实验室 https://t.iss.one/c/1119363280/109402 #framework…
https://github.com/SimpleMobileTools/Simple-SMS-Messenger #app sms
https://t.iss.one/c/1119363280/110892 #tech #windows
https://t.iss.one/c/1119363280/111015 #cplusplus #Linux #code
https://t.iss.one/c/1119363280/111049 #linux #sysadmin
https://t.iss.one/c/1119363280/111064 #GUI jetpack compose
https://t.iss.one/c/1119363280/111371 #Android #news cnBeta
https://t.iss.one/c/1119363280/111393 #cplusplus #bug 低级错误
https://t.iss.one/c/1119363280/111426 #parsing #Linux cmdline #Python shlex
https://t.iss.one/c/1119363280/111569 #root 读取 sms
https://t.iss.one/c/1119363280/111642 #Google #packaging #low
https://t.iss.one/c/1119363280/111683 #statement 草真理了,每次你不想做什么事情,或者就想写个小工具,那东西偏偏会变好……
https://t.iss.one/c/1119363280/111899 #Java #code #dev #Haha
https://t.iss.one/c/1119363280/112061 同上
https://t.iss.one/c/1119363280/112142 #naked #hardware Verilog 草
https://t.iss.one/c/1119363280/112323 #Android #ali #GitHub 草草
https://t.iss.one/c/1119363280/112460 #Apple #security OCSP
https://t.iss.one/c/1119363280/112695 #Android #dev
https://t.iss.one/c/1119363280/112729 #lib 直接调试用 ui
https://t.iss.one/c/1119363280/112873 #Haha #Android #Google #school #Security 😂
https://t.iss.one/c/1119363280/113043 #Android #build
https://t.iss.one/c/1119363280/113104 #Java primData
https://t.iss.one/c/1119363280/113573 #Kotlin #code #security
https://t.iss.one/c/1119363280/110892 #tech #windows
https://t.iss.one/c/1119363280/111015 #cplusplus #Linux #code
https://t.iss.one/c/1119363280/111049 #linux #sysadmin
https://t.iss.one/c/1119363280/111064 #GUI jetpack compose
https://t.iss.one/c/1119363280/111371 #Android #news cnBeta
https://t.iss.one/c/1119363280/111393 #cplusplus #bug 低级错误
https://t.iss.one/c/1119363280/111426 #parsing #Linux cmdline #Python shlex
https://t.iss.one/c/1119363280/111569 #root 读取 sms
https://t.iss.one/c/1119363280/111642 #Google #packaging #low
https://t.iss.one/c/1119363280/111683 #statement 草真理了,每次你不想做什么事情,或者就想写个小工具,那东西偏偏会变好……
https://t.iss.one/c/1119363280/111899 #Java #code #dev #Haha
https://t.iss.one/c/1119363280/112061 同上
https://t.iss.one/c/1119363280/112142 #naked #hardware Verilog 草
https://t.iss.one/c/1119363280/112323 #Android #ali #GitHub 草草
https://t.iss.one/c/1119363280/112460 #Apple #security OCSP
https://t.iss.one/c/1119363280/112695 #Android #dev
https://t.iss.one/c/1119363280/112729 #lib 直接调试用 ui
https://t.iss.one/c/1119363280/112873 #Haha #Android #Google #school #Security 😂
https://t.iss.one/c/1119363280/113043 #Android #build
https://t.iss.one/c/1119363280/113104 #Java primData
https://t.iss.one/c/1119363280/113573 #Kotlin #code #security
GitHub
GitHub - SimpleMobileTools/Simple-SMS-Messenger: An easy and quick way of managing SMS and MMS messages without ads.
An easy and quick way of managing SMS and MMS messages without ads. - SimpleMobileTools/Simple-SMS-Messenger
https://t.iss.one/c/1119363280/113691 #security #linux #meme #Python socket.recvuntil() 之前没用过
https://t.iss.one/c/1119363280/113807 #csharp
https://t.iss.one/c/1119363280/113932 #file Android IDE
https://t.iss.one/c/1119363280/114030 #Android #build
https://t.iss.one/c/1119363280/114073 #Kotlin synthesis 变 #GUI viewbinding..
https://t.iss.one/c/1119363280/114199 #Java #android
https://t.iss.one/c/1119363280/114288 #China #hk .
https://t.iss.one/c/1119363280/114460 #Android 通话录音
https://t.iss.one/c/1119363280/114591 #linux #sysadmin
https://t.iss.one/c/1119363280/114646 #GitHub #China #security
https://t.iss.one/c/1119363280/113807 #csharp
https://t.iss.one/c/1119363280/113932 #file Android IDE
https://t.iss.one/c/1119363280/114030 #Android #build
https://t.iss.one/c/1119363280/114073 #Kotlin synthesis 变 #GUI viewbinding..
https://t.iss.one/c/1119363280/114199 #Java #android
https://t.iss.one/c/1119363280/114288 #China #hk .
https://t.iss.one/c/1119363280/114460 #Android 通话录音
https://t.iss.one/c/1119363280/114591 #linux #sysadmin
https://t.iss.one/c/1119363280/114646 #GitHub #China #security
Forwarded from dnaugsuz
你必须学习一个,这并不是复杂的 break continue 控制流,仅仅是索引的区间、递进循环而已
形如:
for (i in 0..10) op(i);
for (int i=0; i<=10; i++) op(i);
int i=0; while (i<=10) { op(i); i++ }
其中, op 可为任何引用到变量 i 的表达式/语句块,下文皆此。
若
这是 inexclusive range ,也就是带右值的 exclusive range 。比如 1..100 ,总共 100 个数 (== 100-1 +1)
编程时常用 exclusive 区间:
for (i in 0 until 10) print(i)
0,1,...,9
如果你要 s[i] 遍历整个字符串 s ,
因为索引以 0 起始(方便机器计算 以及避免区间连接时的麻烦),它的末引数其实是 length-1 ,代码便是:
for (i in 0 until s.length) op(i)
for (i in 0..s.lastIndex) op(i)
for (int i=0; i<s.length; i++) op(i);
其中 val String.lastIndex get() = length-1
其实,若 i 步长为 1,继续条件 (i<=n) == (i<n+1) 且等效 (i != n+1) 、 (i-1 != n) 。
(i<=n) 的区间示例是 (1..n) ,
终止条件 == !继续条件 ,即 while break 后 (i>n) 即 (i==n+1)。
想想,如果你要按2字符为单位迭代一个字符串 s ,便要设置不是1的递增步长。
for (i in 0 until s.length step 2) op(s[i])
这样 s="Winnie"; op=print 时 Wni 便被输出
这样就有一个好:细心的小朋友就会发现实质上这给字符列表分了块—— 0,1; 2,3; 4,5 这 2*3 项
这样实际就实现了某种 zip([1,2],[2,1]) ,但也要提前写上 IndexOutOfBounds(缩 IOB) 的检查,那么作为练习,实现
以及自定签名的 zip, zipWithNext 函数。
当然,以上示例的 for while 都没有加 {} ,在工程上这是不利于可读性的;而且我举的例子大部分可用 for (T x : xs) op(x); 即 for (x in xs) op(x) 和仅 Kotlin 的
索引计算的常识和 <,<=,== 及 +,+= (a+=b 等价 a=a+b) 这些运算密切相关,必须学习一个。
形如:
for (i in 0..10) op(i);
for (int i=0; i<=10; i++) op(i);
int i=0; while (i<=10) { op(i); i++ }
其中, op 可为任何引用到变量 i 的表达式/语句块,下文皆此。
若
op=System.out::println; 则你会看到 0,1,2,...,10 这 11 个数这是 inexclusive range ,也就是带右值的 exclusive range 。比如 1..100 ,总共 100 个数 (== 100-1 +1)
编程时常用 exclusive 区间:
for (i in 0 until 10) print(i)
0,1,...,9
如果你要 s[i] 遍历整个字符串 s ,
因为索引以 0 起始(方便机器计算 以及避免区间连接时的麻烦),它的末引数其实是 length-1 ,代码便是:
for (i in 0 until s.length) op(i)
for (i in 0..s.lastIndex) op(i)
for (int i=0; i<s.length; i++) op(i);
其中 val String.lastIndex get() = length-1
其实,若 i 步长为 1,继续条件 (i<=n) == (i<n+1) 且等效 (i != n+1) 、 (i-1 != n) 。
(i<=n) 的区间示例是 (1..n) ,
终止条件 == !继续条件 ,即 while break 后 (i>n) 即 (i==n+1)。
想想,如果你要按2字符为单位迭代一个字符串 s ,便要设置不是1的递增步长。
for (i in 0 until s.length step 2) op(s[i])
这样 s="Winnie"; op=print 时 Wni 便被输出
这样就有一个好:细心的小朋友就会发现实质上这给字符列表分了块—— 0,1; 2,3; 4,5 这 2*3 项
int i;/*另种写法*/
for (i=0; i<s.length-1; i++) op(s[i], s[i+1]);这样实际就实现了某种 zip([1,2],[2,1]) ,但也要提前写上 IndexOutOfBounds(缩 IOB) 的检查,那么作为练习,实现
<T> void forEachChunk(int size, List<T> xs, Consumer<List<T>> op);以及自定签名的 zip, zipWithNext 函数。
当然,以上示例的 for while 都没有加 {} ,在工程上这是不利于可读性的;而且我举的例子大部分可用 for (T x : xs) op(x); 即 for (x in xs) op(x) 和仅 Kotlin 的
for ((i,x) in xs.withIndex()) op(i,x) 替换,实际上用到的时候不多。索引计算的常识和 <,<=,== 及 +,+= (a+=b 等价 a=a+b) 这些运算密切相关,必须学习一个。
Forwarded from dnaugsuz
感觉这个内容并不困难,就是看看而已
记得以前好多程序员喜欢 List<T> wtf; 然后 for (T item : items) wtf.add(op(item)); 的,感觉很冗
记得以前好多程序员喜欢 List<T> wtf; 然后 for (T item : items) wtf.add(op(item)); 的,感觉很冗
Forwarded from dnaugsuz
等到你从 语言入门示例 走过来就会发现,工程界讨厌这种写法
就是玩技巧 这么做也排不上号的
每次都这么写,地方太多了
其实就是
只是因为入门时整的都是小玩具,才觉得没有关系,写多了就会厌恶这些东西。
就是玩技巧 这么做也排不上号的
每次都这么写,地方太多了
其实就是
List<T> wtf = items.map(::op); 的意思嘛只是因为入门时整的都是小玩具,才觉得没有关系,写多了就会厌恶这些东西。
Forwarded from dnaugsuz
有些人的确是这样😓
以前我也没做过这种科普题,想想第一次写 Android 应用时我也不会
或许慢慢就会了,但我那时初中没毕业... 劝退也挺好
以前我也没做过这种科普题,想想第一次写 Android 应用时我也不会
或许慢慢就会了,但我那时初中没毕业... 劝退也挺好
Forwarded from Homebody MM 佛系无资家里蹲人工智障密斯IT汪、宇宙流浪者-陆游器全称是陆地游泳器 麦芽糖 脑细
不用想大陆sfz 了,应该是跟现在上台的一样,用通行证或护照
Forwarded from Homebody MM 佛系无资家里蹲人工智障密斯IT汪、宇宙流浪者-陆游器全称是陆地游泳器 麦芽糖 脑细
隐私方面自行再套个vpn等好了