Skip to content

Instantly share code, notes, and snippets.

View vishalpatelbacancy's full-sized avatar

Vishal Patel vishalpatelbacancy

View GitHub Profile
D: <-- 200 https://cashrewards.mybmr.com/api/get/checkexpireAccessToken (1724ms)
D: date: Mon, 12 Jan 2026 16:40:48 GMT
D: content-type: text/html; charset=UTF-8
D: server: cloudflare
D: vary: Accept-Encoding
D: access-control-allow-origin: *
D: x-frame-options: SAMEORIGIN
D: report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=C1sfCv4jDJAeVhXqWp%2BCN%2BNctZaFN9DmH8NSpLBYww6kID8M8gQ0xJPWl4awmpXjYOc1aamb8zw1ErByTcNnACnKLSNR59KO%2FmYK6UC4FajrEA%3D%3D"}]}
D: cf-cache-status: DYNAMIC
D: nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
private class AddDiscountAsyncTask extends AsyncTask<Void, Void, Order> {
ProgressDialog dialog = new ProgressDialog(ChooserActivity.this);
Long order_amount;
public AddDiscountAsyncTask(Long amount) {
super();
order_amount = amount;
}
package com.mybmr.poynt_crm.dialog;
import android.accounts.Account;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.ComponentName;
import android.content.DialogInterface;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.IBinder;
package com.ethanf.in_app_billing_ex;
import java.util.ArrayList;
import org.json.JSONException;
import org.json.JSONObject;
import com.android.vending.billing.IInAppBillingService;
import android.os.Bundle;
@vishalpatelbacancy
vishalpatelbacancy / SnappingRecyclerView.java
Created May 16, 2017 10:14 — forked from lauw/SnappingRecyclerView.java
Snapping RecyclerView (Horizontal)
/*
* Copyright 2015 Laurens Muller.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software