• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, April 5, 2022

    If nothing else: Read Dagger Core Semantics Android Dev

    If nothing else: Read Dagger Core Semantics Android Dev


    If nothing else: Read Dagger Core Semantics

    Posted: 04 Apr 2022 03:16 PM PDT

    https://dagger.dev/semantics/

    This document was the most important read for understanding Dagger.

    The first codebase I contributed to that used Dagger extensively was YouTube, just after they'd added/upgraded to Dagger2. I remembered this helped me get up to speed-but at the time it was hosted internally. Now it appears to be available publicly.

    What is it?

    A first-principles overview of Dagger - very far removed from the dreaded Thermisiphon tutorial. It starts with explaining precisely what a Key is, how those key signatures are used to create binding logic, and only then starts discussing what role Modules and Components play.

    Prereqs?

    None - no Hilt, no Android. This is just a look into core Dagger.

    After reading this (and taking some time to ingest) I was able to build a nontrivial multi-feature-module app with unit + integration tests without needing to resort to Hilt. (If there's any interested in the skeleton or a tutorial, lmk)

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

    Android app removed from the store. What is the time to redeploy a new version?

    Posted: 05 Apr 2022 01:27 AM PDT

    Hello there.

    So my cocktail app with over 500 000 downloads, which I have developed some 6 years ago and since then did not publish any update was removed from the Play store due to violation of user-generated content.
    Here I found some link: https://www.applatest.com/apps/food-drink/com.guru.cocktails/download

    I don't make any money on the app, since I did not want to "ruin" the user experience with ugly ads etc. In fact, I have an infrastructure cost of around 600 euro/ year, so around 3000 EUR since the beginning. Users love the app, and I was happy they are happy :)

    My app allows users to post comments and pictures of cocktails and this has become an issue since a user shall have an option to (per email from support):
    Allowing users to report/flag other users for potential violations
    Allowing users to report/flag potential violating content.
    Allowing users to remove/block abusive users

    I have the first 2 functionalities in my app, but unfortunately, I did not build the remove/block functionality back in the days.

    I won't be able to publish an update of the app since the codebase is just a mess (i guess you all know it if you see some old code of yours and you just want to puke), not even sure if I can compile it anymore. So I have to rebuild the whole app basically.

    The question to you :
    Do you know if there is any deadline for the app update? The rewrite can take some time, so I don't want to end up in a scenario where I have rewritten the app and google tells me "hey we are sorry, but it's too late".
    I have also contacted google dev support with this one question.
    Their reply was not answering my question at all and was again just restating the violation - i have expected this :D

    Thank you very much.

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

    Collecion of Color pickers(10 color pickers, 3 gradient+color for the time being) written with Compose let's you select gradient or solid colors from HSV, HSL, or RGB models with Custom Colorful Sliders, panels, and many customization. https://github.com/SmartToolFactory/Compose-Color-Picker-Bundle

    Posted: 05 Apr 2022 12:42 AM PDT

    UseCases and performance

    Posted: 04 Apr 2022 09:06 PM PDT

    Does your app use UseCase pattern in the domain layer? Based on my understanding, a UseCase is written as a class with a single method. In my experience I could do something similar with a static method. Say, I have 10 use cases that require 10 classes, I could potentially replace those with 10 static methods in a single class. Doesn't the UseCase pattern create too many classes? Does it impact the performance significantly in terms of memory usage? What are the advantages of a UseCase over static methods?

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

    Ok well hi everyone. Finally I solve the Android in its binary executable file and libraries undetection. But since devtmpfs is already mounted, I would like to know how to skip first_stage_mounts and execute second_stage from init. 🥺

    Posted: 05 Apr 2022 01:37 AM PDT

    [DEV] Try Upward, a platforming challenge!

    Posted: 05 Apr 2022 01:26 AM PDT

    [DEV] Try Upward, a platforming challenge!

    https://preview.redd.it/1fbw7lij7or81.png?width=1024&format=png&auto=webp&s=9a7d2a053014d70932d47f66411f4c962c1de81a

    Hi! This right here is my first attempt at making a simple game for android, if you like games such as Jump King or Getting Over It maybe you will like this one too.

    If you want to try it out, please check out the link!

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

    My first app on google play store

    Posted: 05 Apr 2022 01:21 AM PDT

    Hello everyone, I finally managed to publish my first app on google play! 😍 It is nothing special but I have taken away a satisfaction!

    If you give me a contribution by downloading it (it's free I don't earn anything) and putting a nice review, I would be grateful! 🙂

    https://play.google.com/store/apps/details?id=io.kodular.caputoluca88.Shopping_List

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

    My fragment with bunch on animations is laggish on first initialization. How can i wait until initialization is complete, and show fragment after that?

    Posted: 04 Apr 2022 10:40 PM PDT

    My fragment with bunch on animations is laggish on first initialization, however when i open it again (even with another data), animations run smoothly. Can i wait until fragment is initialized, and show ui after that? How can i do it?

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

    Jetpack Compose Android App Tutorial #1| Manage State in Compose | Learn your first app in 15 mins

    Posted: 04 Apr 2022 09:44 PM PDT

    Hey #androiddev, have a look at my video tutorial on How to build an app using Jetpack Compose!

    https://www.youtube.com/watch?v=ulg1PzkIIL4

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

    Why am I able to .set() on TextView from outside uiThread

    Posted: 04 Apr 2022 04:01 PM PDT

    So today I was implementing a feature into my app, and this feature would have a counter that would be incremented in a for loop inside a thread. The count value would then be .set() into a TextView during each for interaction giving the perception of a real time counter in the UI.

    The thing is, I'm just using new Thread(new Runnable) and this thread is able to comunicate directly with the TextView (no uiThread called)

    Is this a bug? It should be forbidden because of thread safety.

    And no, no exception is thrown, Android just let it go through during the whole interaction "without a problem".

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

    Can't Return Data To Previous Activity Using SetResult and registerForActivityResult

    Posted: 04 Apr 2022 03:35 PM PDT

    This is the post in question.

    Sorry if this improper, but I've been struggling with this for weeks now, and I still don't understand what I'm doing wrong. I'm trying to follow standard procedure that Google documents, but they don't give you everything.

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

    My interpretation of the enigmatic Nothing Phone Glyph:

    Posted: 04 Apr 2022 02:53 PM PDT

    • Modular or robotic camera
    • Antenna for short wave or meshnet
    • Side sensor for right / left hand optimization
    • Removable battery or highspeed wireless charging
    submitted by /u/trizmegistus_
    [link] [comments]

    Android "linker64" can't link init. it doesn't find the library called libc.so Whereas libc.so exists. Can anyone help me please 🥺

    Posted: 04 Apr 2022 02:52 PM PDT

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel