« first day (3938 days earlier)      last day (993 days later) » 

1:11 AM
hi can anyone help my problem stackoverflow.com/questions/68551037/…
 
1:23 AM
sorry wrong link : hi can anyone help my problem: stackoverflow.com/questions/68551037/…
 
 
6 hours later…
6:53 AM
@DaveS well it was midnight here
 
 
3 hours later…
10:04 AM
This was the most starred message last year on this day:
Jul 28 '20 at 13:14, by Raghav Sood
Arriving yesterday
 
Folks, the Legacy views in Pallete should not be used for new projects, right?
 
Tim
yes
 
 
1 hour later…
11:35 AM
Hello, do some of you use Flutter ?
 
Thank you master Tim!
 
Tim
1 message moved to Trash can
 
lol
sup g
 
Is it necessary to define a field of type Context in a class derived from RecyclerView.Adapter? I noticed there are some people like doing so.
 
same old same old?
 
11:44 AM
Is there a way to do apps without having to install locally the whole toolchain (Android Dev Studio, etc.)?
 
With an online SaaS? Does Github or something similar enable this?

For Flutter development, is there something like this?
 
google has better answers
 
@grrigore well, top google answers are usually biased by SEO, etc. that's why I prefer feedback from real Stackers ;)
 
11:47 AM
@grrigore Same
 
Oh thank you, this is the solution :)
 
glad I could help
 
Another idea?
 
yahoo search
 
11:57 AM
Go to google page 2. They never do SEO for page 2 because page 2 is the new page 1...
 
Haha
 
Why do some programmers need to pass Context while it can actually be obtained from parent.getContext()? See my code below.
public class CountryAdapter extends RecyclerView.Adapter<CountryAdapter.CountryViewHolder> {
    private ArrayList<Country> countries;
    private Context ctx;

    public CountryAdapter(ArrayList<Country> countries, Context ctx) {
        this.countries = countries;
        this.ctx = ctx;
    }
\0
 
Tim
make another function in that adapter. Try to access parent.context there
at least you never need to pass a context to an adapter via the constructor
 
12:26 PM
I see. Thank you very much. Neither getApplicationContext() nor getContext() can be invoked from within other methods of adapter.
 
Tim
you can only do that in classes that are naturally associated with a context, like activity fragment service etc
 
Is the context of inner view the same as that of the outer one?
 
Tim
yes
 
OK. It means any methods that have an argument of type View can retrieve the context.
 
I remember context being most confusing for me when I started developing android
 
12:36 PM
Whenever I want to invoke toString() on a variable x of type int, I do x+"" because toString() is not available.
 
Tim
just always use the context at hand. You literally never need to use context.getApplicationContext or context.getBaseContext
toString doesn't exist in java, it's String.valueOf
 
have you gave kotlin a try?
 
@asim Not yet. I prefer c-like languages.
 
Tim
I said that because everyone these days injects the application context where needed. If you don't then you sometimes need to manually grab the applicationContext
 
12:40 PM
I see. I haven't reached the topic of Dependency Injection yet.
 
If you are already coding in java, kotlin is the way to go, like int.toString is available in kotlin, loops are awesome and better than java
coroutines vs asynctask/threads
kotlin is beautified java
 
I like typing semicolons. :-)
 
@WhoSaveMeSaveEntireWorld makes sense, have a good day
 
I continue my learning. See you. \0
 
you can type semicolons in kotlin
they are just useless as they should be
 
12:51 PM
@grrigore not always, you can one line code using them specially with x.let{first; second;}, x.also{first; second;}
 
like a madman
 
Tim
people don't actually do that
 
they do when they want their coworkers to die in pain
 
I can hear you guys :-(
 
how? :O
 
12:56 PM
telepathically
 
1:45 PM
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Afternoon Everyone!!!! :D
 
2:15 PM
sup gents
and gals
 
2:32 PM
hi
 
3:01 PM
o/
 
posted on July 28, 2021 by Android Developers

Posted by Krish Vitaldevara, Director, Product Management We are always looking to make Google Play a safer and more trustworthy experience for developers and consumers. Today, we’re announcing new policy updates to bolster user control, privacy, and security. Giving users more transparency into data privacy and security We’re sharing our new policy for the upcoming safety secti

posted on July 28, 2021 by Android Developers

Posted by Suzanne Frey, VP, Product, Android Security and Privacy Today, we’re announcing additional details for the upcoming safety section in Google Play. At Google, we know that feeling safe online comes from using products that are secure by default, private by design, and give users control over their data. This new safety section will provide developers a simple way to showcas

 
heyo
 
 
1 hour later…
4:37 PM
o/
Working as a Go developer now ^^
No more frontend crap
 
I opened a 5~6 year old android app project and I heavily protected it so no one can share it with others, had 3 layers of protection, I was smart at that time
@Taseer GoodLuck!
 
only thing I need to worry about the UI is now the CLI :D
@asim thanks
 
you working in some foreign country or..?
hah, there was a 4th layer, if it doesn't find a file at a remote location named after apps identifier, it divides integers with zeros at multiple modules
 
No, why?
However, my target is 2022. To get a job somewhere in the Euro
 
@Taseer just asking.. I dn like working as a dev here, I only took personal or govt. projects
 
4:47 PM
Yeah, being a dev in PK is not my cup of tea either
I would urge you to do the same
 
I am moving to dubai, just waiting for flights to open
 
That's nice. Maybe I might find a job in Dubai / Abu Dhabi too. But can't say for certain
 
Have you seen the govt apps for different departments, they look like 2 years old made em and dev charge them unimaginable amounts
 
I have never installed a gov app on my phone lol
 
No, apps they make for govt employees like teachers
 
4:55 PM
Do they have apps for teachers? 0____o
I really don't know anything related to the gov
Kept myself away from it
 
yeah, they recently made one for all govt schools, my uncle is principle at one, thats how I know
 
what does it do?
 
student teacher records and some basic stuff
I made the driving test exam systems for 2 cities free of charge
mainly because I hate the ridiculous amounts they charge them for bs
I am kinda confused by my new job at dubai coz the boss have no knowledge of IT, he is a pure businessman and he handed me over everything, I know all the passwords to all his accounts because I set them up, even have access to credit cards because he wants me to handle the transactions
says yes sir, thankyou very much, as you wish...
I have this this fear that this is not normal its not supposed to happen that way
Secondly I will be given car because local transport is too expensive, I didn't say no but I am thinking I would rather pay extra than to drive on the roads of dubai
 
posted on July 28, 2021 by Android Developers

Posted by Anna-Chiara Bellini, Product Manager, Nick Butcher, Developer Relations Today, we're launching version 1.0 of Jetpack Compose, Android's modern, native UI toolkit to help you build better apps faster. It's stable, and ready for you to adopt in production. We have been developing Compose in the open with feedback and participation from the Android community for the

posted on July 28, 2021 by Navee

 Android Studio Arctic Fox is now available in the Stable channel. You can download it here. For an overview of what's new in this release, see the release notes.

 
6:14 PM
posted on July 28, 2021 by Android Developers

Posted by Amanda Alexander, Product Manager, Android We are excited to announce that Android Studio Arctic Fox is now available to download in the stable release channel. This latest release brings to life Jetpack Compose 1.0, Android's new toolkit for building native UI. The release also focuses on devices, including Wear OS, and helps with developer productivity, with featur

 
what do you guys think about future of flutter in android development??
 
@Bazi there is none
 
Tim
6:30 PM
ahmad speaks true
 
 
3 hours later…
9:01 PM
Lol
 
9:28 PM
Several months ago I learnt Flutter. Because of the absence of UI designer, the deeply-nested code cannot be avoided and it makes the code hard to be read. I am hoping .NET MAUI (one of featured technologies of Microsoft) will be released soon this year.
 
9:40 PM
i agree with ahmad as well, there are better solutions, khm kotlin native + compose
 
10:18 PM
Folks, which approach do you recommend? Setting the onClickListener of item view of RecyclerView in onCreateViewHolder or in the constructor of a class derived from RecyclerView.ViewHolder?
If you respond to my question above, please kindly ping me. Thank you. \0
 
Tim
Inside the viewholder
 
10:57 PM
A pdf file was password protected by date of birth, just wrote a simple vbs script loop that printed me list of wordlist of all possible dobs, not only cracked it in less than a sec but i also got the dob of that person
That was me having fun but the point is, Is not that extremely dumb move to use dob as password like that aka counter productive?
Should i mail them about their stupidity or is it me being stupid here?
 
Tim
don't mail them what do you care
 
11:40 PM
damn all the flutter hate
never seen so many people I thought I respected be wrong
 
Tim
11:56 PM
dave speaks true
 

« first day (3938 days earlier)      last day (993 days later) »