• Breaking News

    Thursday, December 17, 2020

    Android Dev - I built a library that onboards the user to your app

    Android Dev - I built a library that onboards the user to your app


    I built a library that onboards the user to your app

    Posted: 16 Dec 2020 11:21 PM PST

    I built a library that onboards the user to your app

    Hi, I've been working on this small feature for onboarding users within my app and I decided to make a library out of this, maybe someone else could need this too. With this library you can basically highlight any visible View on your Screen (really, any) and put some textual data like a title and text.

    Feedback is appreciated and feel free to raise issues, make feature requests or contribute.

    https://i.redd.it/7nkj19imer561.gif

    Source: https://github.com/MrIceman/onboardingflow

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

    Android single viewType Adapter

    Posted: 17 Dec 2020 04:23 AM PST

    https://github.com/carousell/MonoAdapter

    Want to share this project with you guysYou can create a single viewType adapter easily just few lines.

    1. With ViewBinding: You can easily declare the ViewBinding type and the data type, and then provide how to bind data with the binding object like below. kotlin val adapter = MonoAdapter.create<AdapterMyDataBinding, MyData> { textView.text = it.text1 button.setOnClickListener { textView.text = it.text2 } }
    2. ViewBinding is preferred but not necessary, you can pass the layout directly and then bind the View and data in the lambda like below example. kotlin val adapter = MonoAdapter.create<MyData>(R.layout.adapter_sample) { view, data -> val textView = view.findViewById<TextView>(R.id.text) textView.text = data.text1 view.findViewById(R.id.button).setOnClickListener { textView.text = data.text2 } } Please let me know if you have any comment on this.
    submitted by /u/Jintin1018
    [link] [comments]

    Collection of 5000+ Image Assets for Android studio, AOSP, and Android developer documentation.

    Posted: 17 Dec 2020 05:15 AM PST

    Project URL: https://github.com/androiddevnotes/android-assets

    Android Assets aims to be your starting point to find all the official assets from Android Developer sites: Android Studio, Android Open Source Project, and Android Developers

    Assets include PNG, JPG, SVG, GIF, WEBP files for now.

    The repository was created to see the entire catalog of Android Assets used in the official documentation. There are some few many hidden gems.

    Tools that helped in the process: Wget, regex, git, Everything, Visual Studio Code, paste

    Download Assets

    Instructions on how this repository was created

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

    S.O.L.I.D. | Interface Segregation Principle feat. Kotlin

    Posted: 16 Dec 2020 11:53 AM PST

    Template app + Django showcasing JWT auth and networking

    Posted: 17 Dec 2020 05:27 AM PST

    The template GitHub repository (native iOS + Android code) demonstrates how access+refresh JWT authorization works. It's meant to give you a QuickStart to your internet based app using GitHub templates: https://github.com/Andrew-Chen-Wang/mobile-auth-example. Hope you enjoy and PRs are needed :)


    Backstory

    I built this back when I basically DID NOT UNDERSTAND security and basic mobile development. I privatized it since I didn't want anyone stealing the code, and now I couldn't care less because... well it looks shit (also I hope startups can take advantage of this code). At least the Android portion does not look clean nor correct (both are tested and work, but I felt like it was not implemented according to standards).

    They do work, and I hope you enjoy it. Any security issues, better implementation, or README cleanup -- (because it most definitely is wrong, i.e. JWT authentication???) pull requests are appreciated! Definitely need cleanup with README stuff; what I wrote DOES NOT MAKE much sense lmao.

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

    Improve Android build times by using resConfigs

    Posted: 17 Dec 2020 05:03 AM PST

    How do I escape tutorial hell and incrementally break down learning goals and achievements when becoming Android Developer?

    Posted: 17 Dec 2020 08:12 AM PST

    Right now, my goal is "learn Java". This is too vague. I can refine my goals to "understand classes in Java" for example, but this is still hard to measure. Does anyone have advice on how to incrementally measure your own progress on a weekly basis?

    Currently working through a Udemy course building some Apps in Android, but I want to make sure I am cementing key concepts along the way and not just pressing the play button and mindlessly typing along.

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

    Kotlin Multiplatform Mobile + Tensorflow or PyTorch

    Posted: 17 Dec 2020 02:57 AM PST

    Hello Community,

    it is possible to use Tensorflow or PyTorch in Kotlin Multiplatform Mobile?

    Haven't really found anything about it.

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

    I keep getting multiple emails from Google saying I have flagged Play reviews for review. I did not.

    Posted: 16 Dec 2020 10:39 AM PST

    I keep getting blocks of 6-7 emails from Google saying " Thanks for flagging potential policy or legal violations on Google. We've receiv....", as if I have clicked the flag button on loads of reviews.

    Anyone else getting these? If not, all I can think of is my browser is somehow triggering the flag button, or something?

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

    What is the best DB for store data in mobile app (cached data)

    Posted: 17 Dec 2020 12:00 AM PST

    Hello,

    I have developed a cross platform mobile app with Flutter and now I need to cache data and performed some of the business logic locally instead of the server side...

    my current app has mongoDB as backend DB and I was wondering what is the best DB to put in the app itself in order to perform some business logics locally in front end... leveraging the cached data

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

    App Startup, Part 2

    Posted: 16 Dec 2020 10:00 AM PST

    Which resources do you use for improve your programming skills?

    Posted: 16 Dec 2020 10:54 AM PST

    As you know most of android developer trying to learn architecture components & android framework but we need also improve our programming skills. Which resources do you use to improve your general programming skills?

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

    When Firebase Crashlytics close its worker thread ?

    Posted: 16 Dec 2020 04:03 PM PST

    Hi,

    i'm developing a library and it will do some heavy async task during entire app's lifecycle and I think to create an ExecutorService inside the library. Something like FirebaseCrashlytics when write the log.

    My problem is that I don't know how to shutdown the executorsService on app closure.

    I have seen that inside firebase crashlytics there is a CrashlyticsBackgroundWorker, that write the logs. How does firebase shutdown the CrashlyticsBackgroundWorker when the app closed ???

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

    App Update taking more than 24 hrs. Play console...

    Posted: 16 Dec 2020 07:09 PM PST

    Yesterday I have updated my app and send it for the review process. It is not my first time doing an update and most of the time update takes about 2-5 hrs and get updated. But recently it has been way too long waiting for the app to be updated. Is anybody facing the same issue with the update? What may be the possible cause? Thank you

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

    App Review time takes way too long. Google...

    Posted: 16 Dec 2020 10:56 AM PST

    Been waiting for days for my brand new app to be uploaded on Play Store.

    My game app that is being reviewed has a game-breaking bug but I don't want to create a new release now because the review process time will start over. I hope update to this app won't take as long.

    I am aware of the COVID19 situation and all but come on Google you are a huge company and I know developers who lost a lot of their players because review time for updates take days aswell.

    submitted by /u/308king
    [link] [comments]

    Architecture for live updates

    Posted: 16 Dec 2020 12:26 PM PST

    Hey,

    I'm designing the architecture for my new mobile app but I can't decide on the technologies. The backend will definitely be a ASP.NET Core API.

    I want to display a list of users with their names, image and status. This list has to update live if the app is open.

    These are my first drafts:

    • Pull data from REST API when FCM data message arrives
    • Use WebSockets and connect to backend that notifies of changes
    • or something else?

    I don't want to use Firestore because I had a lot of pain with it in the past. What's the best way to implement something like this in your opinion?

    Greetings Loris

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

    Introduced the new #MADscore! �� (Android Studio plugin) Measure your current usage of "Modern Android Development" on your project ��

    Posted: 16 Dec 2020 01:27 PM PST

    No comments:

    Post a Comment