« first day (3628 days earlier)      last day (1303 days later) » 

5:51 AM
Hey Guys, I spotted a behaviour with LayoutInflator which I could not explain.

I have a recycler view that inflates the view using LayoutInflator using the parent context obtained through parent.context

override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
return ViewHolder(
LayoutInflater.from(parent.context).inflate(
viewType,
parent,
false
)
)
}

For a view type say CUSTOM, I am infalting my custom view MyView which inturn inflates for another layout based on some decisions parameters.
 
6:08 AM
Looking at the docs developer.android.com/reference/android/view/LayoutInflater. It says Context#getSystemService to retrieve a standard LayoutInflater instance that is already hooked up to the current context and correctly configured for the device you are running on. If that is the cause shouldn't the view be not displayed the first time too its attached? Why only the 2nd time?
If I scroll down or up until the view is out of screen and scroll back to the view, the inner view is again attached.
 
6:41 AM
posted on September 21, 2020 by shows

A tweet from a famous tech journalist about Android vs iOS spurs a storm. In this episode, Donn and Kaushik given their honest thoughts on iOS vs Android; and being developers for the platform. Shownotes KG's post - iPhones, Pixels and lazy Android developersBen Thompson's tweetDonn's post - The Three Buckets (The Rule of Thirds)Garage Band - Apple iPhone appReeder 4 - iOS RSS Reader a

 
 
2 hours later…
8:50 AM
hey dudes and dudettes...
 
9:05 AM
hey
 
9:24 AM
cleaned up the request access list....
 
Synced starred message data. Took 146987 ms.
 
Hi All, Has anyone worked with PayuMoney Payment gateway ?
 
9:41 AM
nope
 
nice
 
10:22 AM
This was the most starred message last year on this day:
Sep 22 '19 at 6:38, by Taseer Ahmad
🐥 <- T-posing
 
 
2 hours later…
12:11 PM
posted on September 21, 2020 by CommonsWare

Subscribers now have access to Version 0.3 of Elements of Android Room, in PDF, EPUB, and MOBI/Kindle formats. Just log into your Warescription page to download it, or set up an account and subscribe!

 
 
1 hour later…
1:18 PM
@twiz I know this is really old but found great example. This app has an internal id exposed in the url. By incrementing or decrementing the id i can find all schools using the service. admin.schoolinfoapp.com/html5/2344/login
 
 
1 hour later…
2:47 PM
Mornight
 
 
2 hours later…
4:33 PM
yes
 
posted on September 21, 2020 by Android Developers

Posted by Yafit Becher, Program Manager & Dan Galpin, Developer Advocate Play Asset Delivery downloads the best supported texture for the device Google Play Asset Delivery allows you to publish an Android App Bundle to Google Play containing all the resources your game needs. It offers multiple delivery modes, auto-updates, compression, and delta patching, all hosted at no cost

 
5:14 PM
agreed
 
 
4 hours later…
9:37 PM
looks like an eventful weekend in room 15
 
always
 
dave!
how's life?
 
9:53 PM
dave can i come swim in your pool
 
you stalkers need to stay away from me and my family
and life's ok
 
LOL
hi dave and gn
 
later CF
 
hey i'd have no problem swimming in my own pool but it's not full
 
@DaveS look behind you
boo
 
10:04 PM
don't forget I live in a state where it's perfectly legal to purchase an unregistered firearm at a gunshow using cash
 
threats like that don't work on someone who doesn't have a will to live
 
@DaveS gaps
 
that's an unfortunate typo JBis
 
shit
gasps
 
10:22 PM
omg new compose stuff for android is insane
 
Might as well be coding in Fortran
Native is old news, Flutter is the future
 
why tho?
for medium/small projects / prototyping is fine
 
I just feel like memeing
 
i see no reason for building single app for android and ios
i see them as 2 completely different platforms, with different types of users
if youre interested in compose
 
our clients typically want a uniform experience across both devices
 
10:26 PM
apparently, compose has a really awesome arch, that will give you the ability to create a custom backend for rendering
which can be easily ported to different platforms with kotlin native
twitter.com/martinbonnin/status/1297278514085978113 this one is with the swing backend
if that happens, I'm afraid flutter will be discontinued
since kotlin is more adopted
 
honestly jetpack compose looks like flutter
 
yeah, they share the same concept
 
will compose work on iOS?
 
"declerative ui patterns"
not out of the box no
 
not a big threat to flutter then yet
 
10:32 PM
but i guess there will be something coming up in the near future
yeah not yet
but the stuff they did with animations, transitions and that general look and feel
is just epic
if I understood correctly, they've build completely new rendering engine
they are not relying on View class i think
dont hold me on this tho
 
interesting
 
+ new resources and styles mechanism coming with it
 
11:03 PM
Idk why you wouldn't develop cross platform unless your app needs to be extremely performant
 

« first day (3628 days earlier)      last day (1303 days later) »