package com.example.learning fun main(args: Array<String>) { var person = Person("Ramu", 51, 50000F, 7.5F) person.apply{ name = "Sam"
I am working on a inventory management system where it's required to write asset ids (with length of maximum 17) in to an RFID tag. First the problem was that w
My Code is really simple and it has nothing fancy logic in it. I am just taking a value and trying to set the value. This value is coming from the a LiveData ob
We have JVM (JDK 8) and used okhttp as client engine by developers. Each time we makes a request, a new instance of client is created and closed finally. During
I am developing an app using Flutter 2.10.3 but I assume this issue is not related to Flutter. Since upgrading to Android Studio Bumblebee | 2021.1.1 Patch 2 I
When I double click the same item or if I go to each composable screen very quickly i receive an error, How do I solve this problem? I tried changing few things
I have a recyclerview with check boxes and names, After checking the desirable checkboxes I want a list of them but the recyclerView recycles the items on scrol
I have a nested recycler view that contains parent and child adapters. I am using Room DB for showing data on the recycler view. When I, add or delete data from
I have 3 different Fragments to sign in. This is one of fragment to sign-in. @AndroidEntryPoint class SettingFragment : Fragment(){ lateinit var binding: Fragm
How to get this type of layout using StaggeredGridLayoutManager. Or I need to use some other thing? binding.allHistoryRV.run { layoutManager = Stag
I'm trying to modify existing test of kotlin+springboot project. Mockito.`when`(serviceA.getData(anyString())).thenReturn(data)// existing mocking Mockito.`when
I have a Browser app, I need to set it as my default browser. I want to call such a system menu (as in the photo) only instead of Chrome - the name of my applic
I have been digging into a bug with our website where videos and wav type audio files are not loading/showing up when viewed through the Safari browser. Instead
I'm using Retrofit with Coroutine using this structure to hit the API requests in my app but at some screens I send multiple request and I want to only show dat
i have 2 flow (flow1, flow2) and want to call 2 flows in sequential (flow1 then flow2) cause "flow2" depend on "flow1" result but want to implement "flow1" base
plugins { id 'com.android.application' id 'kotlin -android' id 'kotlin-android-extensions' } After updating the build.gradle file, it changed a
I'm doing everything according to the document on the developer.android.com, but I can't see the menu. I think the app:menu line is not working. When I enter th
I've run this through the debugger a hundred times and stepped into the setContent over and over. I can't figure out why. No errors given. Works perfectly on A
The picture shows the code and logs For some reason startDate and endDate not recreated
I'm trying to add multiple events to Google Calendar, but I only can launch one event at a time. val intent = Intent(Intent.ACTION_INSERT) .setData(Ca