Open in app

Sign In

Write

Sign In

Nabil Mosharraf Hossain
Nabil Mosharraf Hossain

126 Followers

Home

About

2 days ago

Developer’s Guide: Avoiding Common Mistakes and Following Best Practices

Things to take note to become better developers Technical 1. Naming Conventions Your function and variable names should be descriptive and self-explanatory. This enhances code readability and helps other developers understand your logic more quickly. Functions should be command or queries but not both # Good naming def calculate_total_price(cart_items): ... # Bad naming def calculate(tp)…

Development

7 min read

Development

7 min read


Jul 17

Compose Basics and Dos and donts

Android introduced Jetpack Compose, a new declarative UI toolkit for building native user interfaces. Jetpack Compose Basics 1- Composable Functions XML interfaces can be refactored using Compose, typically resulting in a more concise, streamlined codebase. Here’s a look at a simple composable function: This function is quick, idempotent, and devoid of side-effects. That…

Android

5 min read

Compose Basics and Dos and donts
Compose Basics and Dos and donts
Android

5 min read


Dec 30, 2022

Creating Audiobooks by aligning Audio with text

Creating Audiobooks by aligning Audio with text One fun thing I did for my master’s dissertation was to align any Quranic Recitation with the quranic text. One way to generate an audio book is through force alignment using the Needleman-Wunsch algorithm. Force alignment is a technique used to align the…

Quran

2 min read

Creating Audiobooks by aligning Audio with text
Creating Audiobooks by aligning Audio with text
Quran

2 min read


Apr 14, 2022

Easy Android ListView Pagination using Jetpack Compose

Need to list items on an Android screen with scroll-based pagination? Here’s a quick guide. Lets (sc)roll…. Jetpack Compose is a modern framework for creating native UI with composable functions on Android. It makes Android UI development easier and faster. …

Jetpack Compose

4 min read

Easy Android ListView Pagination using Jetpack Compose
Easy Android ListView Pagination using Jetpack Compose
Jetpack Compose

4 min read


Jun 23, 2021

Jetpack Compose: LottieSwipeRefreshIndicator

Simplest way to use Lottie Files as a SwipeRefreshLayout

Lottie

1 min read

Jetpack Compose: LottieSwipeRefreshIndicator
Jetpack Compose: LottieSwipeRefreshIndicator
Lottie

1 min read


May 15, 2021

Extract all strings from dart to arb in Flutter

Flutter’s internationalisation is a solid approach to support localisation in the apps. However there is no easy way to extract strings from the dart codes into the arbs. The Flutter Intl plugin supports exporting strings using the IDE’s context menu but that is only available for single strings. …

Flutter

2 min read

Extract all strings from dart to arb in Flutter
Extract all strings from dart to arb in Flutter
Flutter

2 min read


Feb 16, 2021

Comparison of string encryption performance using symmetric methods in Android

In our daily lives, there is a great deal of buzz about data protection and security. We would never want our information to get into anyone else’s hands, especially someone with wrong intentions. I had a similar case where I had to store a lot of string content locally. So…

Encryption

5 min read

Comparison of string encryption performance using symmetric methods in Android
Comparison of string encryption performance using symmetric methods in Android
Encryption

5 min read


Feb 12, 2021

LottieSwipeRefreshLayout

I was looking for a way to show a custom animated indicator instead of the default spinner SwipeRefreshLayout from AndroidX. So I utilised the animations from Lottie and created my own CustomSwipeRefreshLayout. LottieSwipeRefreshLayout is a a custom SwipeRefreshLayout that shows a Lottie View on top instead. The main idea was…

Lottie

2 min read

Lottie

2 min read


Aug 17, 2020

Things I learned while developing Flutter GraphView widget with MultiChildRenderObject

We say, In Flutter, everything is a widget. The Widget tree is a structure that represents how our widgets are organized. So I wanted to display my widgets in a tree layout and alas! I dont see any TreeView in flutter. …

Graph

4 min read

Things I learned while developing Flutter GraphView widget with MultiChildRenderObject
Things I learned while developing Flutter GraphView widget with MultiChildRenderObject
Graph

4 min read


May 3, 2020

Flutter ScrollablePositionedList: Scroll to a position in listview

Consider this User Story: Your user is reading a posts in a long list of posts. You want to ensure that the user’s position is saved when he gets back. And he can return to that position when he returns. I will share the ways we can do this features. Old Aproach: Using ScrollController and ScrollNotification …

Flutter

2 min read

Flutter ScrollablePositionedList: Scroll to a position in listview
Flutter ScrollablePositionedList: Scroll to a position in listview
Flutter

2 min read

Nabil Mosharraf Hossain

Nabil Mosharraf Hossain

126 Followers

Lead Android Developer, Flutter Lover

Following
  • Devansh- Machine Learning Made Simple

    Devansh- Machine Learning Made Simple

  • uxQuran

    uxQuran

  • Zied Hamdi - linkedin.com/in/weally/

    Zied Hamdi - linkedin.com/in/weally/

  • Shashank Thakur

    Shashank Thakur

  • TDS Editors

    TDS Editors

See all (145)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams