Skip to content

Instantly share code, notes, and snippets.

:octocat:
Focusing

Md.Masud Parvez paveltech

:octocat:
Focusing
Block or report user

Report or block paveltech

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@paveltech
paveltech / Datetest.java
Last active Jul 22, 2019
Current date and Time Convert to GMT time and compare
View Datetest.java
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
public class Datetest {
public static String DATE_FORMAT = "yyyy MMM dd hh:mm a zzz";
public static void main(String[] args) {
@paveltech
paveltech / EqualSpacingItemDecoration.java
Created Jul 24, 2019
ItemDecoration for recycleview horizontal and vertical
View EqualSpacingItemDecoration.java
package com.utils;
import android.graphics.Rect;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
public class EqualSpacingItemDecoration extends RecyclerView.ItemDecoration {
private final int spacing;
private int displayMode;
@paveltech
paveltech / facebook.java
Created Aug 15, 2019
get device id for facebook ad test
View facebook.java
public class customTask extends AsyncTask<Void, String, String> {
@Override
protected void onPreExecute() {
super.onPreExecute();
}
@Override
protected String doInBackground(Void... voids) {
You can’t perform that action at this time.