• Breaking News

    Sunday, November 28, 2021

    Android Dev - WhatTheStack: Now based on Jetpack Compose (v1.0.0-alpha02)

    Android Dev - WhatTheStack: Now based on Jetpack Compose (v1.0.0-alpha02)


    WhatTheStack: Now based on Jetpack Compose (v1.0.0-alpha02)

    Posted: 27 Nov 2021 10:50 PM PST

    Weather Forecast App - Jetpack Compose

    Posted: 28 Nov 2021 01:13 AM PST

    Weather Forecast App - Jetpack Compose

    Hi there fellow Android developers.

    Through the process of learning the new UI toolkit I've made a simple weather forecast app. So I thought I might as well share it with ohers. The app utilizes the clean architecture approach with the MVVM architectural pattern.

    The source code can be found at the following link: https://github.com/grb0/weather-forecast

    Some screenshots:

    https://preview.redd.it/d4yemnny3b281.png?width=1620&format=png&auto=webp&s=c05c2c07ae07c67c802df399f50bf8294a6586ed

    submitted by /u/grbo-dev
    [link] [comments]

    Android Hot Reload Question

    Posted: 28 Nov 2021 07:20 AM PST

    Does Android Jetpack Compose will have Hot reloading soon ?

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

    So my app was sent in for review in order to publish it on Google play store. However I picked up a few bugs during this time, do I wait for them to get back to me about the first one or do I just send in a newer cleaner version in, in the meantime? My first time doing this...

    Posted: 28 Nov 2021 12:33 AM PST

    Thoughts on compose

    Posted: 27 Nov 2021 12:44 PM PST

    I've been working with compose on a new project for the past half year now, and I mostly like it. The learning curve is minimal and I quite like the declarative approach to building UI.

    I'm working with a small team and one thing I'm having a problem with is how to organise the code, with the traditional way the XML views were quite heavily coupled with the associated Fragment/Activity it was usually quite easy to run the app, look at what was on the screen and then find the corresponding piece of UI/code in the app.

    But with compose, the UI code can literally be fucking anywhere, the deadlines for this project have been tight also so we've been sloppy with things like code review and we've not really had any conversations about UI architecture with the new compose approach and so I'm coming to the conclusion that it is much easier to write complete spaghetti with compose, and when several different people are throwing their spaghetti into the mix it can make for a not so fun time when diving into the UI.

    So if there was going to be a question here it would be, is there anything out there regarding architecture when using compose? How best should composable functions be organised?

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

    Is There Interest in a Github Like Contribution Chart?

    Posted: 28 Nov 2021 04:38 AM PST

    Is There Interest in a Github Like Contribution Chart?

    Hey Devs,

    Over the past week I have been playing around with creating a contribution chart similar to the one that github uses. I believe there are similar libs for the traditional android view system but I wanted to improve my jetpack compose skills so I wrote my own implementation.

    I wanted to ask if you people think it makes sense for me to make this available as a production ready lib?

    Also I would be really happy for some feedback on the implementation.

    Thanks

    https://github.com/sdoward/pulsar

    https://i.redd.it/cvaxvxjlqc281.gif

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

    Hilt Component for constructor injected dependencies

    Posted: 28 Nov 2021 12:36 AM PST

    I was reading about Hilt and Component, Scope and Module and a question occurred to me and put me in doubt that may be I didn't understand the concepts properly. Here it is

    If we have to specify a component for a module (via `@InstallIn`), why the component is never specified for constructor injected bindings (If there's such a term)? I mean I've never seen sth like this:

    @InstallIn(ViewModelComponent::class) class MyRepo @Inject constructor (val a: A) 

    What's the difference? Somehow Hilt component for constructor injected binding can be determined but for Module bindings can not?

    submitted by /u/Intelligent-Hold5504
    [link] [comments]

    Need a reference project Bluetooth connection client-server connecting Android Kotlin and Windows 10 C#.

    Posted: 28 Nov 2021 12:09 AM PST

    I plan to work on a project Windows 10 Volume Control. Last night I watched a movie using my computer. I am having a hard time controlling the volume using Remote Desktop app. Looked at Play Store and found out there is no legitimate working app for this.

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

    Best source to learn about multi module project in android

    Posted: 27 Nov 2021 11:21 AM PST

    can anyone please suggest me some source where I can learn the best way to setup a big multi module project and their communication.

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

    Fragment or Adapter

    Posted: 27 Nov 2021 09:34 AM PST

    I have an activity which contains a fragment to show feeds in list and there is a tab layout, having two tabs in this fragment and they show different list, and when there is no data for the selected tab ,error image with some text show on the screen.So,what would be a better approach here using two different fragment or just changing the adapter according to the tab selected?

    submitted by /u/Ok-Champion8217
    [link] [comments]

    Telemetry library for Android suggestions

    Posted: 27 Nov 2021 10:39 AM PST

    I'm writing an Android app that will interact with a backend API I'm hosting on a cloud provider. I'd like to understand how users use my app, so I'd like to build in telemetry that tells me what the user did when and have that uploaded to my API periodically. Are there any prebuild solutions that do this, or get most (or even part) of the way there?

    OpenTelemetry seems to be designed to solve this, but I've been clicking on links there and it just goes deeper and deeper into marketing buzzwords and I have yet to see actual concrete implementations.

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

    No comments:

    Post a Comment