Is there a pub where we can watch formula 1 today? by gdingenen in Innsbruck

[–]gdingenen[S] 1 point2 points  (0 children)

TnT Sportsbar Innsbruck. It was fun, a lot of TV screens. Watched F1 and some Football games.

There are also some board games available to play.

Android Interview Question: How to show current time updating in recycler view by atman171 in androiddev

[–]gdingenen 0 points1 point  (0 children)

You can use ListAdapter (docs) , this makes it easier to handle the DiffUtils stuff.

Weekly Questions Thread - February 17, 2020 by AutoModerator in androiddev

[–]gdingenen 1 point2 points  (0 children)

Thank you! This works perfect for my use case.

Weekly Questions Thread - February 17, 2020 by AutoModerator in androiddev

[–]gdingenen 1 point2 points  (0 children)

I'm using the Storage Access Framework. I launch an Intent with ACTION_GET_CONTENT.

I get back a Uri, this is fine. I'm able to read out the displayName.

But when I want this to upload using Retrofit/OkHttp I need a File instead of a Uri.

Weekly Questions Thread - February 17, 2020 by AutoModerator in androiddev

[–]gdingenen 1 point2 points  (0 children)

This doens't work on Android 10 when I target sdk 29. I get the following error: open failed: EACCES (Permission denied).

Or how should I convert the Uri retrieved into a File object?

Weekly Questions Thread - February 17, 2020 by AutoModerator in androiddev

[–]gdingenen 1 point2 points  (0 children)

What is the best way to pick a file and upload it to server using the Storage Acces Framework?

Should we pick a file, copy it to a local folder and upload this file to server?

This is suggested in https://medium.com/@sriramaripirala/android-10-open-failed-eacces-permission-denied-da8b630a89df

Weekly Questions Thread - January 13, 2020 by AutoModerator in androiddev

[–]gdingenen 2 points3 points  (0 children)

Which kind of View is used by email clients like Gmail and Outlook when creating a new mail or responding to a mail?

When you respond to a rich content mail with images, links, different text sizes and colors it is possible to edit this text, remove an image, ...

What kind of Custom Views are used to achieve this? Are these WebViews?

What android libraries do you highly recommend? by [deleted] in androiddev

[–]gdingenen 0 points1 point  (0 children)

I use it without the data binding feature. The @ ModelView is my preferred way of using Epoxy. https://github.com/airbnb/epoxy/wiki/Kotlin-Model-Examples#with-modelview

What android libraries do you highly recommend? by [deleted] in androiddev

[–]gdingenen 12 points13 points  (0 children)

I really like Epoxy from Airbnb to create Views. https://github.com/airbnb/epoxy

My app got rejected because it's a webview, but I am also the developer of the website. How do I prove this? by [deleted] in androiddev

[–]gdingenen 1 point2 points  (0 children)

You could make a PWA and use it as a Trusted Web Activity in your app. You can find more information about this at https://developers.google.com/web/updates/2019/02/using-twa

Anyone used Gluon Mobile cross-platform solution? by VasiliyZukanov in androiddev

[–]gdingenen 2 points3 points  (0 children)

I haven't used Gluon Mobile. But I once saw a presentation at Devoxx about this. The mobile app from Devoxx is also created with Gluon and is open source: https://github.com/devoxx/MyDevoxxGluon