keeping your sanity intact by releasing the view listeners on the holders

credits: Chetan Garg

In development, we come across various challenges which demand displaying large amounts of data sets that can be scrolled very efficiently without risking the performance cost is where the RecyclerView comes into the picture.

An advanced and flexible version of ListView, that encourages Memory Management by recycling the views as it uses ViewHolder that does the magic in reducing the ViewCreation by keeping the MainThread away from a CPU Intensive Task, thus improving performance.

But since it recycles items, Views that have the toggling behavior (checkbox, switch…etc) end…

Photo by Amritanshu Sikdar on Unsplash

Every night I think of ways to fight
This melancholy has gripped me tight
Seems equivalent to a plight
Somewhere I know, I ain’t right
Things should’ve happened if I might
A new day with a new site
With him beside and eyes shine bright
I would’ve been happy and felt light
A different world, if I didn’t fright
It’s a long story if I recite

Been more than 3years, hasn’t loosened my sight
Oh boy! The love has reached its height
It all started from that beautiful night
Holding the offer letter, I sat for the next move to decide
Moving with my…

In a bright summer morning
Like the old times, when we loved hanging
The grass will be green,
The birds will be chirping
Ready for the sunrise, With you by my side
Holding my hand,
I didn’t mind, I’ll pretend
Savouring the moment,
I’ll check another achievement
The list has many points
But you’re already bind
The relation has ended
But the points are yet to be implemented
Holding onto the wish, will keep them safe with a kiss
Without you is a hell of a journey and now I realize, What I miss?
I don’t have you in my life, but the love is sharp as a knife
I hope you miss me too, every day and night
To this feeling, I feel, I fight
As a request to God, I book you as mine, in the next walk of life

Photo by Roberto Nickson on Unsplash

credits : Chetan Garg

People need to understand and control their urge to be judgemental about anyone based on the foundation of newly found mistakes and forgetting about all the hard work, efforts, and good things they’ve done till now.

After all, they used to be on the same ship working before they actually become the sailor.

Mistakes play a role when learnings and teachings are a lifetime companion.

A tough nut to crack for them but you, rather than sitting and investing even a bit of your thoughts on “what they’re thinking about you?” …

Create and Execute your own AsyncTask.

by Chetan Gupta

For over decades, AysncTask has been one of the most widely used solutions for writing concurrent code in Android and now even when it’s deprecated, it is good to know how you can reproduce the same functionality on your own.

So, in this article I have tried to implement my own AsyncTask , before going through the article — just try to implement it on your own and consider submitting the link of your Github.

Let’s continue…

A common thing which an AsyncTask achieve is that it runs a task on a background thread and whose result is published on…

And sometimes in life waiting for someone who is never coming back, doesn’t stop you from loving them !

If you want something, you have to play your way around it !

Everybody talks, Everybody listens…
But somehow it’s the truth that comes up missing !

Night reveals the truth, with or without liquor!

Choose Peace over Fight
Opt Distance over Disrespect
It’s now time to acknowledge — What is good for you?

Pooja Srivastava

A Developer | A Writer | An Avid Reader

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store