You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
private class GetImage extends AsyncTask<String, Void, JSONObject> {
ProgressDialog dialog;
JSONArray jsonarray;
JSONObject jsonObject = null;
@Override
protected JSONObject doInBackground(String... params) {
// Implement your background task logic here
// This method runs in the background thread and performs the task
return null; // Change the return type based on your implementation
}
@Override
protected void onPreExecute() {
super.onPreExecute();
package com.microtechsoftwaresolutions.suitappssfa.Fragements;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.Address;
import android.location.Geocoder;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import butterknife.BindView;
import butterknife.ButterKnife;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.cardview.widget.CardView;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager;
import com.microtechsoftwaresolutions.suitappssfa.R;
import com.microtechsoftwaresolutions.suitappssfa.Activity.BaseActivity;
import com.microtechsoftwaresolutions.suitappssfa.App.SuitAppsSFA;
//import com.microtechsoftwaresolutions.suitappssfa.CallApi.ApiCall;
import com.microtechsoftwaresolutions.suitappssfa.Constant.Constant;
import com.microtechsoftwaresolutions.suitappssfa.Helper.DatabaseHelper;
import com.microtechsoftwaresolutions.suitappssfa.Helper.SessionManager_Login;
import com.microtechsoftwaresolutions.suitappssfa.Model.DateFormater;
import com.microtechsoftwaresolutions.suitappssfa.Model.EmployeeLocation;
import com.microtechsoftwaresolutions.suitappssfa.Model.PlacesList;
import com.microtechsoftwaresolutions.suitappssfa.Model.Products;
import com.microtechsoftwaresolutions.suitappssfa.Services.AutoSyncDirectSale;
import com.microtechsoftwaresolutions.suitappssfa.Services.AutoSyncLocation;
import com.microtechsoftwaresolutions.suitappssfa.Services.GpsTracker2;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.IOException;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import butterknife.BindView;
import butterknife.BindView;
import butterknife.ButterKnife;
import static android.content.ContentValues.TAG;
import static com.microtechsoftwaresolutions.suitappssfa.R.id.directsaletotal;
/**
*/
public class BaseFragment extends Fragment {
GridLayoutManager gridLayoutManager;
// @BindView(R.id.tablayout)
// TabLayout tabLayout;
// @BindView(R.id.viewpager)
// ViewPager viewpager;
// ViewPagerAdapter adapter;
@BindView(R.id.ex_customerscardview)
CardView excustomer;
@BindView(R.id.pendcust)
TextView txtcustomer;
@BindView(R.id.totalsalesCardView)
CardView totalsalesCardView;
// @BindView(R.id.ltSaleOrder)
// LinearLayout ltSaleOrder;
// private void callSyncService1() { getActivity().startService(new Intent(getActivity(), AutoSyncCustomer.class)); }
// dialog = new ProgressDialog(getActivity());
// dialog.setMessage("Please Wait ....Downloading products.....");
// dialog.show();
}
// @OverRide
// protected JSONObject doInBackground(String... params) {
// String JsonDATA = params[0];
// return ApiCall.getDataById(Constant.GETITEMIMAGE, JsonDATA);
// }
// progressDialog = new ProgressDialog(getActivity());
// progressDialog.setMessage("Saving images.....");
// progressDialog.show();
}
}
error displaying highlated ines means @BindView(R.id.pendingtarget)
TextView mytarget;
The text was updated successfully, but these errors were encountered: