Image for post
Image for post

Hello, Today we will build Bottom Navigation with multiple screen. In this project we will not use push navigation rather than we will create multiple screen in one place.

Let’s start

We need main.dart file to run this project and we will open MyHomePage().

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Navigation Demo',
debugShowCheckedModeBanner: false,
theme: new ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage()
);
}
}

We need the title list to show in the AppBar

List<String> titleList = ["Favorite", "Music"…

Image for post
Image for post

Recently I was working on a project where I need navigation drawer. Finally I made it. In this drawer we will show all screens in one place without push feature. And also we will implement a back press feature. It means when you are not in the home screen and if you press device back app will not close it will show first screen of the navigation drawer. Then If you press back again it will close the application.

So now let’s start coding

First we need a main.dart file where we will show our drawer.

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Navigation Demo',
debugShowCheckedModeBanner: false,
theme: new ThemeData(
primarySwatch: Colors.blue, …

Few months ago I just develop e Amoled Wallpaper application so I want to share with you guys.

Image for post
Image for post

Why I said beautiful Amoled wallpaper because here in this application I have collected almost 5000+ AMOLED wallpaper from different sources. Almost every AMOLED wallpaper resolution is 4K quality. In this application, we have some unique feature like

  • Auto Wallpaper change: In this application you can set your time and wallpaper source and wallpaper will automatically update. There are two different sources 1. …

Image for post
Image for post

1. HttpResponseCodeHandling

During the HTTP request in android development, we found different response codes from the server. If we don’t handle this response code then our live application can be crashed anytime. In this library, I tried to cover all internet response code so that what happened in our server live application will be never crashed. You can show a custom Toast about HTTP response.

2. MoreApps

Most of the time I worked for publishing apps in google play store. In this type of application always we have to add an option “More Apps”. In this feature particular developer can show their other apps to the user. So for this, I have to copy past same code all the time. So I developed a library so that I can add this feature within just one line code. …


Last two week I was working on a wallpaper project. My requirement was I have to write a library which can

  1. Set Scroll-able Wallpaper
  2. Set Lock Wallpaper
  3. Set Crop Wallpaper
Image for post
Image for post


Image for post
Image for post

Kotlin is a powerful language. When I was using java I need to write lots of code but using kotlin it turns 4/5 line of code and it looks great. So I was trying to learn advanced things in kotlin and I am working on Scoping function in kotlin. During this, I got some interesting topics. In this article, I will focus on the run, with, T.let, T.also, and T.apply I called them scoping function. I got their main function to provide the inner scope for the caller function.

T.run() function

In the scoping function run, the function is interesting you don’t need to initialize an object to insert dome data into it. It will automatically create an object and you can access your parameters. Also, if you want to convert explicit parameters to an implicit receiver. …


I am a big fan of Medium I have learned a lot of things from here. So I think it’s my responsibility to back something.

I was working on a financial android project in this project I have to retrieve data from server using Rest API and show them in a Bar Chart and Pie Chart. Before this project, I have no idea about the Chart library. I found MPAndroidChart in Github.

I started digging on how I can use this library in my project. This is so big library and I need some custom design. So I was searching on google about this library example or tutorial. Suddenly I found that this library changes a lot in every version it releases. On the whole internet, no one’s code or implement doesn’t match with each other. Then I decided to implement on my own so trying to understand how this works. …


Recently i was thinking about a fun project. Suddenly i remember oh i have Internet Meter application so why not i added a feature like internet speed show. This will be a great feature to know internet speed and internet usages in one application. That’s why i develop this demo application and want to share with you guys.

Image for post
Image for post

I found a library in Github for internet speed test. For this application i used this library which is pretty good and got almost accurate internet speed. I saw a lot library but they are not working well. Then i decided to use this one. …


Image for post
Image for post
Too Large Right!!!

Recently i was just working in a wallpaper application. In this application i have to maintain lot’s of data almost 1M in diffident category. For UI i am using sliding tab let 6 tabs.


Image for post
Image for post

In order to get color object from an image in android apps we can use Palette Library. Google introduced this library from api — 21. To add this library into project we can use Gradle link which is

dependencies {
compile 'com.android.support:palette-v7:23.1.1'
}

In order to generate the Palette object, there is a static from(Bitmap) method on the Palette class. This method returns a Palette.Builder object that you can use to tweak the generated Palette. Be sure that the Bitmap you supply to the from() method is neither null nor recycled, or it will throw an IllegalArgumentException.

Once you have the builder, you can use one of the generate methods to create the Palette object. One option is to use the no-argument generate() method like so. …

About

Md. Masud Parvez

Android Application Developer and love to learn new tech. I believe the hardest job is to develop simple thing. Shoot me(pavelcep.sust11@gmail.com) for project

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