• Breaking News

    Tuesday, July 21, 2020

    Android Dev - Getting on the same page with Paging 3

    Android Dev - Getting on the same page with Paging 3


    Getting on the same page with Paging 3

    Posted: 21 Jul 2020 06:30 AM PDT

    Multiple Backstack Management using Navigation Component

    Posted: 20 Jul 2020 10:18 PM PDT

    The greatest versionCode that is allowed by Google Play is 2100000000. Does that mean once uploading with that versionCode will lead to no possibility to update the app afterwards?

    Posted: 20 Jul 2020 11:57 AM PDT

    Not that it's likely or a problem I'm encountering, just wondering what the options would be.

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

    Colors with opacity performance

    Posted: 21 Jul 2020 02:58 AM PDT

    Hello, I was wondering whether it is more efficient to have a color with opacity built in for example #80FFFFFF which is white with 50% transparency, or have it be #FFFFFF and then add alpha value on the view 0.5f, either on XML or through code. Are there any differences that you know of? Or are they basically the same? Thank you!

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

    Hilt and Dagger annotations cheat sheet

    Posted: 20 Jul 2020 09:24 AM PDT

    How do I merge/aggregate unit test reports from an multi-module android project?

    Posted: 21 Jul 2020 04:30 AM PDT

    What do I need to do to implement a system similar to a smart home, but for storages?

    Posted: 21 Jul 2020 12:31 AM PDT

    I have a main storage on which an android tablet is installed as a control center. and there are the same storage modules, only without screens. you need to implement their connection to the main control center. what technologies can i use to achieve the goal?

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

    I'm confused about 'Maps API for Android' API Key!

    Posted: 21 Jul 2020 02:54 AM PDT

    Everywhere it says that you need a billing account to get an API Key. Even though you never cross the free quota billing account is a must to start using the API. That's what I've read in the official documentations and StackOverflow.

    Now the thing is, yesterday I tried to get an API Key without a billing account and I was able get one. I enabled the Maps API for Android and added the API Key to an app. Tried to load the map. It worked.

    My question is – how is this possible? What's happening?

    I'm really confused. Can anyone clear me up?

    submitted by /u/18p3r
    [link] [comments]

    Does DI code belong to modules?

    Posted: 20 Jul 2020 08:50 PM PDT

    I'm working on a multi app modular codebase. Its natural to put dagger/koin/whatever DI code modules inside given gradle modules. Also, Hephaestus and Hilt sort of enable you to do that easier.

    But, should you?

    Granted, module owner knows best about scopes of partucilar dependencies

    However, with dagger, you need to slap explicit scope annotation, effectively hardcoding it to that scope. You cannot just say "Single instance per whatever component I'm in". This limits reuse -- what if you want to use the module in a different scope per app it is in

    Also, retrofit doesnt provide no dagger modules

    Also, multiplatform?

    So, this leads me to believe DI setup should maybe only live in the top level :app module

    However if it only lives in app, then it needs to be duplicated per app, as it cannot be shared. Which is a bummer

    Also, not sure how would inter module communication would work if component interfaces were not available. This is necessary, until we get ui constructor back (compose)

    I think what I really want is for dagger to implement the mentioned @SinglePerWhateverComponentThisIsIn 🤔

    Thoughts?

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

    Kotlin Coroutines: Getting Started in Android (Dispatchers, Threads, and Retrofit Integration)

    Posted: 20 Jul 2020 12:27 PM PDT

    Migrating the Google I/O app to Hilt

    Posted: 20 Jul 2020 02:07 PM PDT

    Scoping in Android and Hilt

    Posted: 20 Jul 2020 07:07 PM PDT

    Looking for a backend that will do geolocation/geospatial querys?

    Posted: 20 Jul 2020 09:48 PM PDT

    I want to make a app that uses geolocation/geospatial as the main feature(food and neighbor related). Every idea I have for a android app uses that. I have thought of back4app, backendless, parse server, and firebase with geofire and geofirestore. I cant find any recent info on back4app or backendless. As far as if there any good or if I would end up regretting using them. As far as firebase neither geofire or geofirestore seem to be maintained. I have thought of aws amplify but every time I try to look into info on geolocation/geospatial stuff I run into a dead end as in I'm either googling the wrong phrases or am just plain stupid.

    I currently have 2 apps I want to make and cant seem to settle on with what to do. I would roll my own solution yet I barely know android enough to make any thing let alone hope to roll out out my own backend. I just don't want to be locked into a bad solution if any one of them actually manages to take off(hopeful thinking :-D). Let alone for future for future projects.

    Figured I would ask this here since I only dabble in android and assume a lot of ya have had same issues.

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

    Is debugging C++ code with Android Studio is a bad idea?

    Posted: 20 Jul 2020 03:28 PM PDT

    My experience involves Android Studio giving the wrong error message and throwing a SigTrap on the wrong line. Also, waiting over a minute for the debugger to attach. Only after going line by line in the debugger did I find the SigTrap. Android decided to throw a SigTrap 6 lines of code after an exception gets thrown. The error is quickly cleared from the log and a new error complains it can't find the header for a JNI function it already called.

    I ended up installing C++ for Visual Studio and moving the bad code to it, and deleting all the unnecessary code. I hit debug and it threw the actual exception on the line it happened in under 5 seconds!

    I think one is better off using their C++ ide of choice and using that to debug their code. Is there a better way?

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

    Is it possible to use App Actions in production?

    Posted: 20 Jul 2020 01:22 PM PDT

    Official documentation says it is still in developer review stage while containing info about deployment of App Actions for application in Play Store. I see some ambiguity here so wanted to ask you, fellow redditors who had some experience with it.

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

    Kotlin programming language: How Google is using it to squash the code bugs that cause most crashes | ZDNet

    Posted: 20 Jul 2020 06:45 PM PDT

    Send data to server when Fragment is stopped/destroyed

    Posted: 20 Jul 2020 01:55 PM PDT

    Hi all, The user can leave the fragment in multiple ways. I'd like that once the fragment is about to be stopped(either the user clicked back, killed the app or entered another fragment) - show a progressbar and send data to server. Only upon response I shall let the fragment get stopped/destroyed etc. Where is best to place the send data to server code? Thanks :)

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

    How to add Facebook Locked Profile liked feature to my developed Android App?

    Posted: 20 Jul 2020 12:08 PM PDT

    Hi,
    We all know about the Facebook Locked Profile feature where none can capture screenshot or record the profile. If I want to develop e app where the restriction of taking screenshot and record will be present then how can I do that?

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

    For Dagger enthusiasts out there!

    Posted: 20 Jul 2020 09:36 AM PDT

    No comments:

    Post a Comment