• Breaking News

    [Android][timeline][#f39c12]

    Thursday, April 28, 2022

    Dropdown Android Dev

    Dropdown Android Dev


    Dropdown

    Posted: 27 Apr 2022 08:42 PM PDT

    Dropdown

    A customizable jetpack compose dropdown menu with cascade and animations

    https://i.redd.it/78u5gvjyx6w81.gif

    https://github.com/AndroidPoet/Dropdown

    submitted by /u/androidpoet
    [link] [comments]

    Fragment lifecycle when it's in backstack

    Posted: 27 Apr 2022 11:47 PM PDT

    I have Fragment A to display list of item using RecyclerView. When each items gets clicked, it will navigate (using Jetpack Navigation components) to Fragment B which will display additional information about the item.

    I just recently realized Fragments A doesn't get destroyed even after we navigate away from it.

    Is that the correct behavior?

    submitted by /u/sikatsuket
    [link] [comments]

    [Question] how can i export my figma UI design into android studio ?

    Posted: 27 Apr 2022 12:53 PM PDT

    well so basicaly i just made a simple application from android studio, and i had made the UI design via figma.

    so what i want to know is that how could i easily like just copy and paste the (well its my design so no prob in copying and pasting my own stuff) it to my android studio as xml or anyother way....

    simply...how can i replace my figma design with the current android studio design(the xml part)

    hope u understood.10Q :)

    submitted by /u/Dark_stream067
    [link] [comments]

    Android Tiramisu Privacy Sandbox

    Posted: 28 Apr 2022 01:43 AM PDT

    Just updated my Android Studio today. When I opened the Android SDK, I saw a new preview of Android Tiramisu with privacy sandbox. Can anyone tell me what is this? This is the first I encountered a "privacy sandbox". Thank you.

    submitted by /u/apprentice4ever
    [link] [comments]

    How can I display 3D models now that SceneForm is deprecated?

    Posted: 27 Apr 2022 03:27 PM PDT

    Like the title says, I'm trying to display a 3D model in app but it seems as though SceneForm is now deprecated. I know there have been some attempts at maintaining open source versions of SceneForm, but unfortunately for this specific task open source libraries are not on the table. What is my best option?

    submitted by /u/jimontgomery
    [link] [comments]

    Help me !

    Posted: 28 Apr 2022 12:31 AM PDT

    For Quite a few days a webpage randomly loads and open up in chrome. It happens randomly irrespective of the app I am using. I tried everything I knew using AntiVirus, Clearing cache, data of chrome , forcing stop it. But nothing worked This is the linked that opens : http://smartphoneoverflow.com/?referral=a0002

    submitted by /u/Worthy_Buddy
    [link] [comments]

    What if someone works on the vanced app for themselves?

    Posted: 28 Apr 2022 12:20 AM PDT

    The app was taken down after Google's threats for legal action, however the source code for the app is still available on github. What if someone downloaded the source code and updated to keep up with the latest YouTube apk updates, while keeping certain features from past releases (like how YouTube quietly disabled 720p downloads for non-premium users) for self use and not distribute, could they get in trouble? How would Google know?

    submitted by /u/LastOfLateBrakers
    [link] [comments]

    Does not using HTTPS in REST API goes against play store rules? will this get my app banned ?

    Posted: 27 Apr 2022 09:51 PM PDT

    Any opinions on Instant Apps in currentYear?

    Posted: 27 Apr 2022 09:14 AM PDT

    Are they simply dead? Or does everything still work but didn't become as popular as Google intended?

    It's weirdly hard to find information on implementing it with Jetpack Compose, if at all possible. But I haven't given it a proper try yet, just interested in seeing what your guys' experiences with these have been like.

    submitted by /u/Ferreira1
    [link] [comments]

    Play Store Update: Data Safety Section visible to users

    Posted: 27 Apr 2022 12:09 AM PDT

    Play Store Update: Data Safety Section visible to users

    Hey Android Devs,

    Google just made the data safety section visible to users. The deadline to fill out the data safety form is 20 July 2022.

    Play Store Data Safety Section

    Filling out the data safety form will take some time so I will recommend starting now. You can use my free CLI tool to do the same: https://github.com/Privado-Inc/privado

    DM/Comment if you have any questions.

    submitted by /u/vaibhavantil
    [link] [comments]

    In order to change the name of the installed app, the string in the apk file that needs to be edited is?

    Posted: 28 Apr 2022 12:43 AM PDT

    I'll try my best to explain properly. I have an app that is essentially just an installer that installs ANOTHER app that is the final product. The final product app name needs to be changed but I can only seem to rename the installer app in which I edit [android:label="@string/app_name"]

    submitted by /u/mywifeTHICC
    [link] [comments]

    what's the best tutorial to learn Unit testing and the tools n frameworks like Robolectric, Mockito and PowerMock?

    Posted: 27 Apr 2022 04:15 PM PDT

    Has anyone used clean architecture with (mongo) realm?

    Posted: 27 Apr 2022 06:49 PM PDT

    I have used roomdb in the past, and using entities, daos, and databases seems well documented with plenty of examples.

    I am using realm on a new project and it feels a little chaotic in this project. Looking to refactor it a bit. Does anyone know of any clean architecture examples using realm? I was thinking to create DAO's which could be (for example) be accessible from repositories. Right now realm details are all over the place inside of the repos and other views even.

    Imagine some use cases that do NOT involve views. Like code that runs in the background in the global scope for example. Would that have its own realm instance that is never closed basically? That's a memory concern then possibly.

    Do I just open an instance and close it every single time? Will realm get angry if I open and close it for EVERY transaction?

    submitted by /u/kotlineng
    [link] [comments]

    Can I still use Java for apps in 2022 if I want to?

    Posted: 27 Apr 2022 02:06 AM PDT

    I'm quite new to android development so forgive me for the noob post. I've been messing around with android to test the water so to speak, for reference I'm mainly a full stack web developer and general purpose software engineer working with JavaScript and C++. I've seen a couple of cool projects on Reddit to do with android and wanted to give it a go, I've been messing around with Kotlin and it's simple enough but I don't really see the point.

    I know there's legal drama with Oracle and Google but my way of thinking is if it's a real issue then they would would have removed Java completely. Not only that but Kotlin runs off the JVM so I don't really see the harm. I have IRL developer friends saying I HAVE to use Kotlin otherwise it's like breaking the 10 commandments. I just wanted to get your opinions on the matter since you're all probably more skilled than I am.

    Thanks.

    submitted by /u/Agile_Band5314
    [link] [comments]

    Can you broadcast an NFC URL from an Android Device to an iPhone?

    Posted: 27 Apr 2022 02:47 PM PDT

    How to make a LiveData list, or how to be sure my composable recomposes?

    Posted: 27 Apr 2022 02:26 PM PDT

    I have a problem that my composable is only recomposing after another arbitrary value is being changed which leads to a couple of bugs.. I'm currently have this:

    val guessArray = List(5) { List(6) { CardData("", Color.White) }.toMutableStateList() } 

    Is there a way to make this "LiveData" so that it recomposes better?

    Or just generally how can I go about this?

    submitted by /u/yerba-matee
    [link] [comments]

    [Interview] Design an analytics logger

    Posted: 27 Apr 2022 10:52 AM PDT

    This was a question I was asked recently in an interview I just did.

    Design an analytics logger, the type where you report events to an analytics service.

    The interviewer was expecting an interface, rough implementation, ideas about how to take input data, etc.

    The interviewer had me download a sample Android project and code it up in the project

    How would you approach it?

    I think it'll be good to have such design discussions on this sub.

    submitted by /u/WhyGod-Why
    [link] [comments]

    How to get the number from an enum in Kotlin?

    Posted: 27 Apr 2022 08:38 AM PDT

    For reasons beyond my control I need to pass an enum value into a fun that accepts an int as parameter and I can't find a way to do it. It's kinda blowing my mind really, you can easily turn the enum value into a string but not and int? Am I missing something?

    Example:

    enum color{

    BLUE = 0;

    RED = 1;

    }

    fun abc (flavor: Int){...}

    And I wanted to do something like:

    abc(color.BLUE.toInt())

    submitted by /u/issamaysinalah
    [link] [comments]

    User volume change moving from Open Testing to Production.

    Posted: 27 Apr 2022 06:26 AM PDT

    I have released an app under the open testing phase. My question is what sort of user volume change could I expect once I go to production from open testing? Does analytics provide any insight into this?

    It's been about a month since I released it, and I've been getting about 3-5 subscriptions a week at $4.99 per month, I'm up to 14 subscriptions. Honestly didn't expect that at all, but I am really curious to also see what kind of predictions I can make about these as well.

    My main concern is not to release until I'm certain the user rating will be 4+ stars so this doesn't scare users away. The app is in a niche category where all other apps are 1-2 stars. Assuming that the app is rated well, intuitively I see this leading to an increase in user volume.

    submitted by /u/bandapella
    [link] [comments]

    Testing Kotlin coroutines on Android

    Posted: 26 Apr 2022 09:29 AM PDT

    Java or kotlin?

    Posted: 27 Apr 2022 04:37 AM PDT

    Hey guys, I took android development last semester at school and got to make some pretty cool projects and I continue to try and stay active with android. But, in school they taught us android with Java. Should I try and switch over to the google standard kotlin?

    submitted by /u/ConferenceOpen7808
    [link] [comments]

    You can try Android 13 even without having a Google Pixel

    Posted: 27 Apr 2022 02:39 AM PDT

    What's your strategy for interview prep?

    Posted: 26 Apr 2022 10:46 AM PDT

    Title more or less. How do you prepare for interviews and what's your general timeline for studying?

    submitted by /u/GrinningTangerine
    [link] [comments]

    Testing for slow internet connection - what am I doing wrong?

    Posted: 27 Apr 2022 01:21 AM PDT

    Testing for slow internet connection - what am I doing wrong?

    Dear community,

    I received reports that my app is not working great when you have a slow internet connection. I wanted to test that with the android emulator, but I failed hard.

    When I enable LTE, my internet is very fast (> 200mbit/s).

    When I go for HSDPA (which is the next slower thing), the network is so slow that the speedtest does not even complete.

    Signal strength does not change anything.

    What am I doing wrong?

    https://preview.redd.it/soddxu8t61w81.png?width=923&format=png&auto=webp&s=a52ce885e6fd8eb180186f222f5efd0fd5e0bacd

    submitted by /u/KsLiquid
    [link] [comments]

    What’s your least favourite part of building an app?

    Posted: 26 Apr 2022 10:49 AM PDT

    Curious as to get other's view on this after chatting with a few people. I more mean "what portion of an app do you find mundane building". For example, I'm sick of rebuilding an intro view where you show what your app can do. Also sick of building stuff in settings like FAQs etc.

    I just find there's some stuff like that you always have to do around the meat of your app

    submitted by /u/antifringe
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel