Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged kotlin
0
votes
842
views
1
answer
kotlin - Use microphone in webrtc & media recorder simultaneously in Android?
I am using webrtc for video calling in android. I am simultaneously screen recording after call is connected in ... out to resolve this error. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
921
views
1
answer
kotlin - How to join multiple instances of same object in Android Room?
NOTE: I cannot use relation as we had performance issue which is not reproduced on direct join query. ... name: main.chat_user.chat_user_id) See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.1k
views
1
answer
kotlin - moshi custom qualifier annotation to serialise null on one property only
I'd like to serialise null for only one property in my JSON body that is going on a PUT. I don't ... .create(moshi)) .build() } See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
643
views
1
answer
kotlin - Retain EditText with Screen Rotation using Databinding Library
I have two classes AdminPinActivity.kt and AdminPinActivityPresenter.kt AdminPinActivity.kt: class AdminPinActivity : ... </layout> See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
897
views
1
answer
kotlin - CharSet for MS Access '97 DB using UCanAccess
Hey I am reading a database using ucanaccess-5.0.0. The database is propably < Access 2000, since it's not UTF-8 ... DB. What can I do about it? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
844
views
1
answer
kotlin - How are Android activities handled with Jetpack Compose and Compose Navigation?
I'm currently studying Jetpack Compose in an attempt to build a feature-rich application using modern Android ... discouraged for some reason? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
693
views
1
answer
kotlin - What is the android version of css transform in html
In css for html there are a number of different things that you can do with the transform attribute. this ... SkewX and SkewY) mentioned above? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
759
views
1
answer
kotlin - Write permissions not working - scoped storage Android SDK 30 (aka Android 11)
Anyone else finding scoped-storage near-impossible to get working? lol. I've been trying to understand how to allow ... different file") } } } See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
743
views
1
answer
kotlin - Best way to handle such scenario where "smart cast is imposible"
I wonder what is the best way to handle such scenario class Person(var name:String? = null, var age:Int? = null) ... let name?.let{ doSth(it) } See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.2k
views
1
answer
kotlin - Android Two Way DataBinding Problem of Ternary Operator Must be Constant
My EditText is like this: <EditText android:layout_width="0dp" android:layout_height="wrap_content" android: ... two-way DataBinding. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
903
views
1
answer
kotlin - How do you Disable Certain Days on a Datepicker - Android
I'm trying to implement a datepicker but I need to disable some days. For example, I do not want the user to ... in Kotlin. Someone help me plz. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
669
views
1
answer
kotlin - What is the purpose of having bound class reference return a covariant type?
I'm playing with reflection and I came out with this problem. When using bound class reference via the ::class ... an invariant type by design. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.3k
views
1
answer
kotlin - Zip 3 lists of equal length
Is there a standard operation in Kotlin stdlib which would allow to iterate over a zip of 3 (or more) lists? Effectively ... > listOf(a, b, c)} See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
993
views
1
answer
kotlin - Cannot create instance of viewmodel after using Hilt in Android
Here is my AllFilesListViewModel class. class AllFilesListViewModel @ViewModelInject constructor( private val pdfItemRepository: ... .appbar.V See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.4k
views
1
answer
kotlin - How to call a lambda callback with mockk
I create a mock of a class with mockk. On this mock I now call a method that gets a lambda as a ... the mock to call the passed lambda? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
748
views
1
answer
kotlin - java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
When I run my Ktor application with gradle run then I've got the following exception: 19:21:11.795 [main] DEBUG ... mode) What am I doing wrong? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.6k
views
1
answer
kotlin - Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
fun checkLengthA(str : String?): Int = if (str.isNullOrBlank()) 0 else str.length "Only safe (?.) or ... anyone explain why it is happening? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
850
views
1
answer
kotlin - Convert a nullable type to its non-nullable type?
I have a bunch of beans that have nullable properties like so: package myapp.mybeans; data class Foo(val name ... to get around these scenarios? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.1k
views
1
answer
kotlin - Disable Android 12 default splash screen
In the google I/O presentation, google team says that we can disable the default splash screen. I want to ... splash screen, not disabling it. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
701
views
1
answer
kotlin - Why is "3rd-party Gradle plug-ins may be the cause" showing after updating Gradle to 3.1.0?
After updating Gradle to com.android.tools.build:gradle:3.1.0, in the log I now see: Folder E: ... plug-ins may be the cause See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
873
views
1
answer
kotlin - Android APIv29 FileNotFoundException EACCES (Permission denied)
I'm not able to access storage when building for targetSdkVersion v29. Here is my gradle configuration: ... .filesDir.absolutePath } Thanks See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
776
views
1
answer
kotlin - How to extend a data class with toString
I have created a data class data class Something ( val a : String, val b : Object, val c : String ) ... toString method of a custom dataclass? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.1k
views
1
answer
kotlin - How to extend a data class with toString
I have created a data class data class Something ( val a : String, val b : Object, val c : String ) ... toString method of a custom dataclass? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
700
views
1
answer
kotlin - Function definition: fun vs val
I'm curious about what is the suggested way to define member functions in Kotlin. Consider these two member ... semantics that I am missing? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
1.1k
views
1
answer
kotlin suppress warning deprecated for Android
In my Kotlin Android project, I am using a function that has been deprecated starting from api 23, which is quite ... an easy way to do so? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
978
views
1
answer
kotlin - Assignment not allowed in while expression?
In Java we can usually perform an assignment within the while condition. However Kotlin complains about it. So the following ... ); } But is it? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
801
views
1
answer
kotlin - How to turn a Mutable Collection into an Immutable one
I was writing a small piece of code in which I internally handle my data in a mutable map, which in ... one. Any advice or recommendations? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
0
votes
844
views
1
answer
kotlin - Use of Boolean? in if expression
If I have a nullable Boolean b, I can do the following comparison in Java: Boolean b = ...; if (b != ... this imposes). This is the result: See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
kotlin
Page:
1
2
3
4
5
6
...
11
next »
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question
Just Browsing Browsing
[1] 千万级模糊搜索解决方案
[2] 在vue3中使用swiper,如何实现上一页下一页或者跳转到指定页面的功能?
[3] electron打包后启动应用 提示Error: Cannot find module 'knex'
[4] javascript - How to restart a function from inside it
[5] javascript - Reversing an array stored in State doesnt force re-render of component in React
[6] 前后端关于多维嵌套对象数组数据的处理
[7] c# - System.BadImageFormatException - mismatch between versions
[8] reverse proxy - Apache HTTPD: How to setup Virtual Host correctly
[9] 如何用el-tree和el-table做出这种嵌套效果
[10] vue怎么将富文本里面的图片拼接上域名呢?
2.1m
questions
2.1m
answers
60
comments
57.0k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...