class Wrapper(private val value: String?) { @JsonValue fun asValue(): String? { return value } } val mapper = ObjectMapper()
Hello I'm trying to use the Dagger Hilt library In my project but when I'm trying to build it, it fails with this message public final class MyApplication exten
I'm working on a weather app for a class and I'm having some trouble with parcelable. I've looked at several other questions that are similar to this on StackO
I need a Card() Composable with a normal press and a long press functionality for a custom Card Composable. The thing is Card() has its own value called onClick
I'm really sorry for asking the same question like 100 other people did but i have tried every solution provided and I can't seem to find what is wrong with my
@Composable fun TopAppBar( title: @Composable () -> Unit, modifier: Modifier = Modifier, navigationIcon: @Composable (() -> Unit)? = null,
I have discovered that the code of my application has been deprecated. I was using PhoneStateListener class but now I see that this decreasing for API 31 and th
I'm using two library that have dependencies of two different versions of Koin. One of the library has org.koin:koin-android:2.0.1 and the other has io.insert-k
What I Want I want to convert EditText into TextView programmatically. <EditText android:id="@+id/inputValue" android:layout_width=
I m gonna use Navigation Framework with fragments but at the dependency step, when i tried to add SafeArgs from documentation i see that the new top level gradl
I have a fragment that has multiple elements in it, some textViews, imageViews, a page ViewPager for ads and at the bottom I have a recyclerView. I want them a
Sorry if asked before, but I don't find a solution on the web. As mentioned in the title, I don't know how to change the button text on this app (screenshot) th
class Mobile(val company: String= "unknown", var model: String ="unknown") { fun call(mobile: Mobile) = "Calling with ${mobile.model} from the company ${mobile.
I want to make post request with Ktor but I get Error 400. the curl looks like this : curl --location --request POST 'https://api.jdoodle.com/execute' \ --heade
I'm attempting to deserialize this xml string: val xml2 = """ <id>3</id> """.trimIndent() to this data class @JacksonXmlRootElement(localName = "
How to force compose' LazyColumn to act like traditional scrollable elements like RecyclerView or ListView? Useful when want to scroll with mouse, e.g. with vys
I am using sealed class to handle api response. I am trying some code but getting some error of serialization. I tried this solution as well but it not working.
Suppose my class is: open class TestThis{ @Autowired private var myService : MyService? = null fun doMyFunction(){ val result = myService.d
I have a flow to fetch data from database via content provider. fun getDataFlow(): Flow<Result> { return flow { emit(Result.Loading) // f
I'm making an annotation processor for encrypting personal data due to law. So in order to encrypt those field it should be able to set new value so I want my a