updated_code

This commit is contained in:
ravik
2025-09-26 17:47:51 +05:30
parent 741480e66e
commit a04e0db9d5
133 changed files with 609 additions and 60 deletions
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DeviceTable">
<option name="columnSorters">
<list>
<ColumnSorterState>
<option name="column" value="Name" />
<option name="order" value="ASCENDING" />
</ColumnSorterState>
</list>
</option>
</component>
</project>
-1
View File
@@ -35,7 +35,6 @@ android {
lintOptions {
abortOnError false
}
}
// ✅ Sources JAR
+3 -3
View File
@@ -12,8 +12,8 @@ android {
applicationId "com.cpm.lorealbaautomation"
//noinspection OldTargetApi
targetSdk 34
versionCode 20
versionName "2.9"
versionCode 21
versionName "3.0"
multiDexEnabled true
useLibrary 'org.apache.http.legacy'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -34,7 +34,7 @@ android {
buildTypes {
release {
buildConfigField "boolean", "LOG_ENABLED", "true"
debuggable false
debuggable true
minifyEnabled true
shrinkResources true
signingConfig signingConfigs.config
+2 -2
View File
@@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 20,
"versionName": "2.9",
"versionCode": 21,
"versionName": "3.0",
"outputFile": "app-release.apk"
}
],
@@ -1997,6 +1997,7 @@ public class Lorealba_Database extends SQLiteOpenHelper {
values.put("SaleableOut", tStockSummary.getSaleableOut());
values.put("SaleableDamage", tStockSummary.getSaleableDamage());
values.put("SaleableBalance", tStockSummary.getSaleableStatus().trim().equalsIgnoreCase("COMPLETE") && tStockSummary.getSaleableBalance()==-1 ? 0 : tStockSummary.getSaleableBalance());
// values.put("SaleableBalance", tStockSummary.getSaleableBalance());
values.put("TesterIn", tStockSummary.getTesterIn());
values.put("TesterOut", tStockSummary.getTesterOut());
values.put("TesterDamage", tStockSummary.getTesterDamage());
@@ -2019,7 +2020,6 @@ public class Lorealba_Database extends SQLiteOpenHelper {
if (l == -1) {
throw new Exception();
}
}
if (isTStockTotalLine(date, counterId, "T_StockSummary") != data.size()) {
@@ -2855,23 +2855,22 @@ public class Lorealba_Database extends SQLiteOpenHelper {
public String getStatus(String columnName, String counterId) {
String status = null;
Cursor dbcursor = null;
String query = "select distinct t1." + columnName + " from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1." + columnName + "<>''and t1.CounterId=" + counterId + " and t2.ProductType='Normal'";
Log.d("querydata",query);
try {
if (columnName != null && columnName.equalsIgnoreCase(CommonString.KEY_GwpStatus)) {
dbcursor = db.rawQuery("select distinct t1.GwpStatus as GwpStatus from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1.GwpStatus<>''and t1.CounterId=" + counterId + " and t2.ProductType='GWP'", null);
} else {
dbcursor = db.rawQuery("select distinct t1." + columnName + " from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1." + columnName + "<>''and t1.CounterId=" + counterId + " and t2.ProductType='Normal'", null);
//dbcursor = db.rawQuery("select distinct t1." + columnName + " from T_StockSummary t1 INNER JOIN Product_Master t2 on t1.ProductId=t2.ProductId where t1." + columnName + "<>''and t1.CounterId=" + counterId + " and t2.ProductType='Normal'", null);
dbcursor = db.rawQuery(query, null);
}
if (dbcursor != null) {
dbcursor.moveToFirst();
while (!dbcursor.isAfterLast()) {
status = dbcursor.getString(dbcursor.getColumnIndexOrThrow(columnName));
dbcursor.moveToNext();
}
dbcursor.close();
return status;
}
@@ -5127,10 +5126,7 @@ public class Lorealba_Database extends SQLiteOpenHelper {
} else {
query = " Select " + getDataMe + " from " + table + " s" + " Left join" + " (Select CounterId, ProductId, sum(DamageQty) as DamageQty from (" + " select T.COUNTER_ID as CounterId, T.ProductId, T.Stock as DamageQty from" + " TABLE_TRANSACTION_DATA T INNER JOIN DR_TABLE_TRANSACTION_WISE_MASTER M" + " ON T.MASTER_TRANSACTION_ID = M.MASTER_TRANSACTION_ID where T.STOCK_TYPE='DAMAGE'" + " AND T.Visit_Date ='" + visit_date + "' and T.COUNTER_ID =" + counterId + " and T.ProductId = " + productId + " Union All SELECT CounterId, ProductId, DamageQty from Damage_PreviousPending Where" + " CounterId =" + counterId + " and Verify ='Pending' and ProductId=" + productId + " UNION ALL" + " Select T2.COUNTER_ID AS CounterId, T1.PRODUCT_ID AS ProductId , SUM(T1.QUANTITY) AS DamageQty" + " FROM SALE_TRACKING_TABLE T1 INNER JOIN SALE_TRACKING_HEADER_TABLE T2 ON" + " T2.RECCEPT_COUNT=T1.RECCEPT_COUNT" + " WHERE T2.COUNTER_ID =" + counterId + " AND T2.Visit_Date='" + visit_date + "' AND T1.INVOICE_TYPE='Saleable'" + " and T1.PRODUCT_ID=" + productId + q1 + " GROUP BY T1.PRODUCT_ID UNION ALL" + " select S.COUNTER_ID as CounterId, S.PROMO_PRODUCT_ID AS ProductId , SUM(S.PROMO_PRODUCT_QTY) AS DamageQty" + " from APPLYED_PROMOTION_TABLE S INNER JOIN SALE_TRACKING_HEADER_TABLE S1" + " ON S.RECCEPT_COUNT=S1.RECCEPT_COUNT" + " Where S.PROMO_TYPE ='Product' AND S.COUNTER_ID = " + counterId + " AND S1.VISIT_DATE = '" + visit_date + "' and S.PROMO_PRODUCT_ID=" + productId + q2 + " GROUP BY S.PROMO_PRODUCT_ID) as" + " t Group by CounterId, ProductId) as dm on s.ProductId = dm.ProductId" + additionQueryMe + " where s.ProductId=" + productId;
}
dbcursor = db.rawQuery(query, null);
//test("Query--", query);
if (dbcursor != null) {
dbcursor.moveToFirst();
while (!dbcursor.isAfterLast()) {
@@ -5664,10 +5660,8 @@ public class Lorealba_Database extends SQLiteOpenHelper {
sb.setVisitDate(dbcursor.getString(dbcursor.getColumnIndexOrThrow("VisitDate")));
sb.setCheckout(dbcursor.getString(dbcursor.getColumnIndexOrThrow("Checkout")));
}
dbcursor.moveToNext();
}
dbcursor.close();
return sb;
@@ -6444,8 +6438,13 @@ public class Lorealba_Database extends SQLiteOpenHelper {
boolean filled = false;
Cursor dbcursor = null;
try {
dbcursor = db.rawQuery("SELECT (ifnull(T4.TotLine,0) + ifnull(T4.TotalStock,0)) as StockStatus From" + " (select case when c.TotalLine = t.TotLine then 1 else 0 end as TotLine," + " case when c.TotalStock = t.TotValue then 1 else 0 end as TotalStock from" + " (SELECT * FROM StockSummary_Check Where VisitDate='" + visit_date + "' and CounterId=" + counterId + ") as c" + " INNER JOIN" + " (select counterId, count(*) as TotLIne, sum(SaleableBalance)as TotValue from T_StockSummary Where VisitDate='" + visit_date + "' and CounterId=" + counterId + " group by CounterId) AS t" + " ON c.CounterId = t.CounterId) as T4", null);
dbcursor = db.rawQuery("SELECT (ifnull(T4.TotLine,0) + ifnull(T4.TotalStock,0)) as StockStatus From" +
" (select case when c.TotalLine = t.TotLine then 1 else 0 end as TotLine," +
" case when c.TotalStock = t.TotValue then 1 else 0 end as TotalStock from" +
" (SELECT * FROM StockSummary_Check Where VisitDate='" + visit_date +
"' and CounterId=" + counterId + ") as c" +
" INNER JOIN" + " (select counterId, count(*) as TotLIne, sum(SaleableBalance)as TotValue from T_StockSummary Where VisitDate='"
+ visit_date + "' and CounterId=" + counterId + " group by CounterId) AS t" + " ON c.CounterId = t.CounterId) as T4", null);
if (dbcursor != null) {
dbcursor.moveToFirst();
while (!dbcursor.isAfterLast()) {
@@ -6456,17 +6455,14 @@ public class Lorealba_Database extends SQLiteOpenHelper {
} else {
filled = false;
}
dbcursor.moveToNext();
}
dbcursor.close();
}
} catch (Exception e) {
////////test("Exception--", e.toString());
return filled;
}
return filled;
}
@@ -14937,14 +14933,15 @@ public class Lorealba_Database extends SQLiteOpenHelper {
return sb;
}
public void updateStatus(String id, String counterId, String bID, String status, double latitude, double longitude) {
public long updateStatus(String id, String counterId, String bID, String status, double latitude, double longitude) {
ContentValues values = new ContentValues();
try {
values.put("GeoTag", status);
values.put("Latitude", latitude);
values.put("Longitude", longitude);
db.update("Mapping_JourneyPlan", values, "StoreId" + " = " + id + " And BID = " + bID + " And CounterId = " + counterId, null);
return db.update("Mapping_JourneyPlan", values, "StoreId" + " = " + id + " And BID = " + bID + " And CounterId = " + counterId, null);
} catch (Exception ignored) {
return 0;
}
}
@@ -462,7 +462,6 @@ public class UserLoginActivity extends AppCompatActivity implements View.OnClick
break;
case "Mapping_JourneyPlan":
Log.d("JSON_DATA", data);
if (!data.contains("No Data")) {
JCPGetterSetter jcpObject = new Gson().fromJson(data, JCPGetterSetter.class);
db.open();
@@ -118,7 +118,6 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
private LocationCallback locationCallback = null;
private SharedPreferences.Editor editor = null;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
@@ -635,7 +634,6 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
}
private boolean hasGPSDevice(Context context) {
final LocationManager mgr = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
if (mgr == null) return false;
@@ -676,6 +674,7 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
jcpObject = new Gson().fromJson(data, JCPGetterSetter.class);
db.open();
if (jcpObject != null && db.insertJCPData(jcpObject)) {
Log.d("jcpdatanew","jcp data inserted");
/// checking GeoFencing
getLastLocation();
AlertandMessages.showToastMsg(context, "Journey Plan Download Successfully.");
@@ -944,14 +943,14 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
if (jcp.getGeoTag() != null && !jcp.getGeoTag().equalsIgnoreCase(CommonString.KEY_N) && jcp.getGeoFencingAllow() != null && jcp.getGeoFencingAllow() == 1) {
int distance = jcp.getGeoFencingRadius() != null ? jcp.getGeoFencingRadius() : 0;
int current_dist_from_store_using_lat = 0;
Log.d("latdata",lat + ","+lon + ","+jcp.getLatitude() + ","+jcp.getLongitude());
Log.d("latdata", lat + "," + lon + "," + jcp.getLatitude() + "," + jcp.getLongitude());
if (jcp.getLatitude() != 0.0 && jcp.getLongitude() != 0.0 && jcp.getGeoFencingRadius() != 0 && lat != 0.0 && lon != 0.0) {
current_dist_from_store_using_lat = DistanceUtils.calculateDistanceInMeters(lat, lon, jcp.getLatitude(), jcp.getLongitude());
Log.d("TagLoc", "Radius " + distance + "\nCurrent dist " + current_dist_from_store_using_lat);
if (current_dist_from_store_using_lat > distance) {
String msg = getString(R.string.you_need_to_be_within) + " " + distance + " metres " + getString(R.string.you_need_to_be_in_the_store) +
"\n\n" + getString(R.string.distance_from_the_store) + " " + current_dist_from_store_using_lat + " " + getString(R.string.meters);
if (isFinishing() || (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1 && isDestroyed())) {
if (isFinishing() || isDestroyed()) {
return;
}
AlertDialog.Builder builder = new AlertDialog.Builder(this);
@@ -965,11 +964,12 @@ public class StoreImageActivity extends AppCompatActivity implements View.OnClic
}
}
} else {
if (isFinishing() || (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1 && isDestroyed())) {
if (isFinishing() || isDestroyed()) {
return;
}
db.open();
if (!isGeoTagAlertShown && db.getinsertGeotaggingData(storeId.toString(), counter_id, username, "Y").isEmpty()) {
Log.d("jcpdata", jcp.getGeoTag());
if (jcp.getGeoTag() != null && !jcp.getGeoTag().equalsIgnoreCase(CommonString.KEY_Y) && !isGeoTagAlertShown) {
isGeoTagAlertShown = true;
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle(getResources().getString(R.string.dialog_title));
@@ -69,7 +69,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.RequestBody;
@@ -8,6 +8,7 @@ import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@@ -133,7 +134,8 @@ public class BAdvisorMenuFragment extends Fragment {
ba_survey = R.mipmap.ba_survey;
} else if (db.isGroomedChecked(counterId, username, visit_date).equalsIgnoreCase("Amber")) {
}
else if (db.isGroomedChecked(counterId, username, visit_date).equalsIgnoreCase("Amber")) {
if (complete) {
consumer_return = R.mipmap.consumer_return;
consumer_interaction = R.mipmap.consumer_interaction;
@@ -111,10 +111,11 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
startLocationUpdates();
if (!img_str.isEmpty()) {
if (db.InsertSTOREgeotag(jcpGetset.getStoreId().toString(), counter_id, jcpGetset.getBID().toString(), username, latitude, longitude, img_str) > 0) {
img_str = "";
db.updateStatus(jcpGetset.getStoreId().toString(), jcpGetset.getCounterId().toString(),
jcpGetset.getBID().toString(), CommonString.KEY_Y, latitude, longitude);
if (checkNetIsAvailable(view.getContext())) {
new GeoTagUpload().execute();
} else {
AlertandMessages.showToastMsg(context, getResources().getString(R.string.nonetwork));
}
} else {
AlertandMessages.showToastMsg(context, "Error in saving Geotag");
}
@@ -122,12 +123,11 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
AlertandMessages.showToastMsg(view.getContext(), getResources().getString(R.string.takeimage));
}
} catch (Exception e) {
e.printStackTrace();
e.fillInStackTrace();
}
});
camera_fab.setOnClickListener(view -> {
try {
if (checkNetIsAvailable(view.getContext())) {
if (latitude != 0.0 && longitude != 0.0) {
_pathforcheck = jcpGetset.getStoreId().toString() + "-" + jcpGetset.getCounterId().toString() +
"-" + jcpGetset.getBID().toString() + "_GeoTag-" + jcpGetset.getVisitDate().replace("/", "")
@@ -137,11 +137,8 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
} else {
AlertandMessages.showToastMsg(context, "Please wait for location");
}
} else {
AlertandMessages.showToastMsg(context, getResources().getString(R.string.nonetwork));
}
} catch (Exception e) {
e.printStackTrace();
e.fillInStackTrace();
}
});
if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED ||
@@ -249,7 +246,7 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
mMap.getUiSettings().setZoomControlsEnabled(true);
mMap.getUiSettings().setCompassEnabled(true);
mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(latitude,longitude), 15));
mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(latitude, longitude), 15));
if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED ||
ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {
mMap.setMyLocationEnabled(true);
@@ -451,7 +448,7 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
@NonNull
private JSONObject getJsonObject(int j) throws JSONException {
JSONObject obj = new JSONObject();
obj.put("UserId",username);
obj.put("UserId", username);
obj.put("StoreId", geotaglist.get(j).getStoreid());
obj.put("CounterId", geotaglist.get(j).getCounterId());
obj.put("bID", geotaglist.get(j).getBid());
@@ -468,7 +465,8 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
dialog.dismiss();
if (result != null && result.equalsIgnoreCase(CommonString.KEY_SUCCESS)) {
db.open();
if (db.updateInsertedGeoTagStatus(jcpGetset.getStoreId().toString(), counter_id, username, CommonString.KEY_Y) > 0) {
if (db.updateInsertedGeoTagStatus(jcpGetset.getStoreId().toString(), counter_id, username, CommonString.KEY_Y) > 0
&& db.updateStatus(jcpGetset.getStoreId().toString(), jcpGetset.getCounterId().toString(), jcpGetset.getBID().toString(), CommonString.KEY_Y, latitude, longitude) > 0) {
img_str = "";
AlertandMessages.showToastMsg(context, "Geotag Saved Successfully");
finish();
@@ -506,9 +504,8 @@ public class GeoTaggingActivity extends AppCompatActivity implements OnMapReadyC
settingsClient.checkLocationSettings(builder.build()).addOnSuccessListener(locationSettingsResponse -> {
// All location settings are satisfied. You can request location updates here.
}).addOnFailureListener(e -> {
if (e instanceof ResolvableApiException) {
if (e instanceof ResolvableApiException resolvable) {
try {
ResolvableApiException resolvable = (ResolvableApiException) e;
resolvable.startResolutionForResult((Activity) this, REQUEST_LOCATION);
} catch (IntentSender.SendIntentException sendEx) {
// Ignore the error.
@@ -384,7 +384,13 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
} else if (!allLoginData.isEmpty() && allLoginData.get(0).getMpin() != null && !pinview_confirm.getValue().equalsIgnoreCase(allLoginData.get(0).getMpin())) {
AlertandMessages.showToastMsg(context, "Your MPIN Does Not Match From Inserted Database");
} else {
if (IS_PASSWORD_CHECK && Update_Visit_Date != null && Update_Visit_Date.equals("1")) {
if (CommonFunctions.checkNetIsAvailable(context)) {
AttempLogin();
} else {
AlertandMessages.showToastMsg(context, CommonString.MESSAGE_INTERNET_NOT_AVALABLE);
}
}
/*if (IS_PASSWORD_CHECK && Update_Visit_Date != null && Update_Visit_Date.equals("1")) {
if (CommonFunctions.checkNetIsAvailable(context)) {
AttempLogin();
} else {
@@ -441,8 +447,7 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
finish();
}
}
}
}*/
} else if (v.getId() == R.id.btn_clear) {
hideKeyboard(this);
@@ -615,6 +620,12 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
builder.show();
} else {
loading.dismiss();
Toast.makeText(context,"Success",Toast.LENGTH_SHORT).show();
editor.putString(user_id, pinview_confirm.getValue());
editor.putString(CommonString.KEY_USERNAME, user_id.toLowerCase());
editor.commit();
db.open();
db.updateLoginMpnData(user_id, pinview_confirm.getValue());
if (!allLoginData.isEmpty()) {
if (allLoginData.get(0).getImg().isEmpty()) {
startActivity(new Intent(context, StoreImageActivity.class));
@@ -627,6 +638,7 @@ PinViewActivity extends AppCompatActivity implements View.OnClickListener {
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
finish();
} else {
//Toast.makeText(context,"Success",Toast.LENGTH_SHORT).show();
Intent in = new Intent(context, DealarBoardActivity.class);
startActivity(in);
overridePendingTransition(R.anim.activity_in, R.anim.activity_out);
@@ -1923,7 +1923,6 @@ public class DownloadAllDatawithRetro extends ReferenceVariablesForDownloadActiv
editor.putInt(CommonString.KEY_INCORRECT_TSTOCK_SUMMERY + date, 0);
editor.apply();
}
int incorrect_tStockSummery = preferences.getInt(CommonString.KEY_INCORRECT_TSTOCK_SUMMERY + date, 0);
if (incorrect_tStockSummery != 0) {
if (incorrect_tStockSummery == 1) {
@@ -0,0 +1 @@
i/debug_dex
@@ -0,0 +1 @@
o/debug
@@ -0,0 +1 @@
o/classes
@@ -0,0 +1 @@
i/classes_global-synthetics
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.androidbuts.multispinnerfilter" >
<uses-sdk android:minSdkVersion="24" />
<application android:allowBackup="true" >
</application>
</manifest>
@@ -0,0 +1,18 @@
{
"version": 3,
"artifactType": {
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
"kind": "Directory"
},
"applicationId": "com.androidbuts.multispinnerfilter",
"variantName": "debug",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"outputFile": "AndroidManifest.xml"
}
],
"elementType": "File"
}
@@ -0,0 +1,6 @@
aarFormatVersion=1.0
aarMetadataVersion=1.0
minCompileSdk=1
minCompileSdkExtension=0
minAndroidGradlePluginVersion=1.0.0
coreLibraryDesugaringEnabled=false
@@ -0,0 +1,45 @@
int attr hintText 0x0
int color ColorPrimary 0x0
int color ColorPrimaryDark 0x0
int color android_text_color 0x0
int color app_topbar_color 0x0
int color background_color 0x0
int color black 0x0
int color blue 0x0
int color cyan 0x0
int color gray 0x0
int color lightBlue 0x0
int color list_background 0x0
int color list_even 0x0
int color list_header 0x0
int color list_odd 0x0
int color list_selected 0x0
int color primary 0x0
int color primary_dark 0x0
int color primary_pressed 0x0
int color red 0x0
int color ripple 0x0
int color text_color 0x0
int color white 0x0
int dimen activity_horizontal_margin 0x0
int dimen activity_vertical_margin 0x0
int id alertCheckbox 0x0
int id alertSearchEditText 0x0
int id alertSearchListView 0x0
int id alertTextView 0x0
int id empty 0x0
int id listTextViewSpinner 0x0
int id searchMultiSpinner 0x0
int id simpleMultiSpinner 0x0
int layout activity_main 0x0
int layout alert_dialog_listview_search 0x0
int layout item_listview_multiple 0x0
int layout item_listview_single 0x0
int layout textview_for_spinner 0x0
int string type_to_search 0x0
int style DialogWindowTitle 0x0
int style MaterialSpinner 0x0
int style myDialog 0x0
int style myDialogTitle 0x0
int[] styleable MultiSpinnerSearch { 0x0 }
int styleable MultiSpinnerSearch_hintText 0
@@ -0,0 +1,6 @@
#Thu Sep 25 14:59:47 IST 2025
com.androidbuts.multispinnerfilter.library-main-6\:/layout/activity_main.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\activity_main.xml
com.androidbuts.multispinnerfilter.library-main-6\:/layout/alert_dialog_listview_search.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\alert_dialog_listview_search.xml
com.androidbuts.multispinnerfilter.library-main-6\:/layout/item_listview_single.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\item_listview_single.xml
com.androidbuts.multispinnerfilter.library-main-6\:/layout/textview_for_spinner.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\textview_for_spinner.xml
com.androidbuts.multispinnerfilter.library-main-6\:/layout/item_listview_multiple.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\debug\\layout\\item_listview_multiple.xml
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="DialogWindowTitle">
<item name="android:maxLines">1</item>
<item name="android:scrollHorizontally">true</item>
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
</style>
<style name="MaterialSpinner" parent="Material.Widget.Spinner">
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
<item name="spn_labelEnable">true</item>
<item name="spn_labelTextSize">18sp</item>
<item name="spn_arrowSwitchMode">true</item>
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
</style>
<style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
</style>
<style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
<item name="android:gravity">center_horizontal</item>
</style>
<declare-styleable name="MultiSpinnerSearch">
<attr format="string" name="hintText"/>
</declare-styleable>
</resources>
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ColorPrimary">#29CA97</color>
<color name="ColorPrimaryDark">#06ACE4</color>
<color name="android_text_color">#747474</color>
<color name="app_topbar_color">#AAAAAA</color>
<color name="background_color">#E1E2E2</color>
<color name="black">#000000</color>
<color name="blue">#1589FF</color>
<color name="cyan">#00FFFF</color>
<color name="gray">#D1D0CE</color>
<color name="lightBlue">#ADD8E6</color>
<color name="list_background">#06ACE4</color>
<color name="list_even">#AAAAAA</color>
<color name="list_header">#99979C</color>
<color name="list_odd">#E1E2E2</color>
<color name="list_selected">#455FB6</color>
<color name="primary">#3f51b5</color>
<color name="primary_dark">#303f9f</color>
<color name="primary_pressed">#E1E2E2</color>
<color name="red">#FF0000</color>
<color name="ripple">#F06292</color>
<color name="text_color">#686868</color>
<color name="white">#FFFFFF</color>
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<string name="type_to_search">Type to Search</string>
<style name="DialogWindowTitle">
<item name="android:maxLines">1</item>
<item name="android:scrollHorizontally">true</item>
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
</style>
<style name="MaterialSpinner" parent="Widget.AppCompat.Spinner">
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
<item name="spn_labelEnable">true</item>
<item name="spn_labelTextSize">18sp</item>
<item name="spn_arrowSwitchMode">true</item>
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
</style>
<style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
</style>
<style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
<item name="android:gravity">center_horizontal</item>
</style>
</resources>
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\res"><file name="activity_main" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\activity_main.xml" qualifiers="" type="layout"/><file name="alert_dialog_listview_search" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\alert_dialog_listview_search.xml" qualifiers="" type="layout"/><file name="item_listview_multiple" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\item_listview_multiple.xml" qualifiers="" type="layout"/><file name="item_listview_single" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\item_listview_single.xml" qualifiers="" type="layout"/><file name="textview_for_spinner" path="D:\LorealBa-Latest-2024\library\src\main\res\layout\textview_for_spinner.xml" qualifiers="" type="layout"/><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\colors.xml" qualifiers=""><color name="ColorPrimary">#29CA97</color><color name="ColorPrimaryDark">#06ACE4</color><color name="list_background">#06ACE4</color><color name="blue">#1589FF</color><color name="white">#FFFFFF</color><color name="black">#000000</color><color name="gray">#D1D0CE</color><color name="background_color">#E1E2E2</color><color name="primary">#3f51b5</color><color name="primary_pressed">#E1E2E2</color><color name="primary_dark">#303f9f</color><color name="ripple">#F06292</color><color name="red">#FF0000</color><color name="cyan">#00FFFF</color><color name="lightBlue">#ADD8E6</color><color name="text_color">#686868</color><color name="android_text_color">#747474</color><color name="app_topbar_color">#AAAAAA</color><color name="list_even">#AAAAAA</color><color name="list_odd">#E1E2E2</color><color name="list_selected">#455FB6</color><color name="list_header">#99979C</color></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\dimens.xml" qualifiers=""><dimen name="activity_horizontal_margin">16dp</dimen><dimen name="activity_vertical_margin">16dp</dimen></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\strings.xml" qualifiers=""><string name="type_to_search">Type to Search</string></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values\styles.xml" qualifiers=""><style name="MaterialSpinner" parent="Widget.AppCompat.Spinner">
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
<item name="spn_labelEnable">true</item>
<item name="spn_labelTextSize">18sp</item>
<item name="spn_arrowSwitchMode">true</item>
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
</style><style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
</style><style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
<item name="android:gravity">center_horizontal</item>
</style><style name="DialogWindowTitle">
<item name="android:maxLines">1</item>
<item name="android:scrollHorizontally">true</item>
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
</style></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values-v21\attrs.xml" qualifiers="v21"><declare-styleable name="MultiSpinnerSearch">
<attr format="string" name="hintText"/>
</declare-styleable></file><file path="D:\LorealBa-Latest-2024\library\src\main\res\values-v21\styles.xml" qualifiers="v21"><style name="MaterialSpinner" parent="Material.Widget.Spinner">
<item name="rd_style">@style/Material.Drawable.Ripple.Wave.Light</item>
<item name="spn_labelEnable">true</item>
<item name="spn_labelTextSize">18sp</item>
<item name="spn_arrowSwitchMode">true</item>
<item name="spn_arrowAnimDuration">@android:integer/config_shortAnimTime</item>
<item name="spn_arrowInterpolator">@android:anim/decelerate_interpolator</item>
</style><style name="myDialog" parent="@android:style/Theme.Holo.Light.Dialog">
<item name="android:windowTitleStyle">@style/myDialogTitle</item>
</style><style name="myDialogTitle" parent="@android:style/TextAppearance.DialogWindowTitle">
<item name="android:gravity">center_horizontal</item>
</style><style name="DialogWindowTitle">
<item name="android:maxLines">1</item>
<item name="android:scrollHorizontally">true</item>
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
</style></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\build\generated\res\resValues\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\build\generated\res\resValues\debug"/></dataSet><mergedItems/></merger>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\jniLibs"/></dataSet></merger>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\shaders"/></dataSet></merger>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\main\assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\src\debug\assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\LorealBa-Latest-2024\library\build\intermediates\shader_assets\debug\out"/></dataSet></merger>
@@ -1,4 +1,4 @@
#Fri Sep 12 13:23:48 IST 2025
#Wed Sep 24 19:13:56 IST 2025
com.androidbuts.multispinnerfilter.library-main-5\:/layout/textview_for_spinner.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\textview_for_spinner.xml
com.androidbuts.multispinnerfilter.library-main-5\:/layout/activity_main.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\activity_main.xml
com.androidbuts.multispinnerfilter.library-main-5\:/layout/alert_dialog_listview_search.xml=D\:\\LorealBa-Latest-2024\\library\\build\\intermediates\\packaged_res\\release\\layout\\alert_dialog_listview_search.xml
@@ -230,6 +230,7 @@
<com.google.ai.client.generativeai/>
<com.google.ai.edge.aicore/>
<com.google.ai.edge.litert/>
<com.google.ai.edge.litertlm/>
<com.google.ai.edge.localagents/>
<com.google.ambient.crossdevice/>
<com.google.android.ads/>
@@ -0,0 +1,46 @@
R_DEF: Internal format may change without notice
local
attr? hintText
color ColorPrimary
color ColorPrimaryDark
color android_text_color
color app_topbar_color
color background_color
color black
color blue
color cyan
color gray
color lightBlue
color list_background
color list_even
color list_header
color list_odd
color list_selected
color primary
color primary_dark
color primary_pressed
color red
color ripple
color text_color
color white
dimen activity_horizontal_margin
dimen activity_vertical_margin
id alertCheckbox
id alertSearchEditText
id alertSearchListView
id alertTextView
id empty
id listTextViewSpinner
id searchMultiSpinner
id simpleMultiSpinner
layout activity_main
layout alert_dialog_listview_search
layout item_listview_multiple
layout item_listview_single
layout textview_for_spinner
string type_to_search
style DialogWindowTitle
style MaterialSpinner
style myDialog
style myDialogTitle
styleable MultiSpinnerSearch hintText
@@ -0,0 +1,12 @@
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="com.androidbuts.multispinnerfilter" >
4
5 <uses-sdk android:minSdkVersion="24" />
6
7 <application android:allowBackup="true" >
7-->D:\LorealBa-Latest-2024\library\src\main\AndroidManifest.xml:5:5-7:19
7-->D:\LorealBa-Latest-2024\library\src\main\AndroidManifest.xml:5:18-44
8 </application>
9
10</manifest>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.androidbuts.multispinnerfilter" >
<uses-sdk android:minSdkVersion="24" />
<application android:allowBackup="true" >
</application>
</manifest>
@@ -0,0 +1 @@
[]
@@ -0,0 +1,19 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.androidbuts.multispinnerfilter.MultiSpinner
android:id="@+id/simpleMultiSpinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp" />
<com.androidbuts.multispinnerfilter.MultiSpinnerSearch
android:id="@+id/searchMultiSpinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:layout_marginTop="20dp" />
</LinearLayout>
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
android:gravity="center_horizontal"
android:orientation="vertical">
<EditText
android:id="@+id/alertSearchEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/type_to_search"
android:inputType="text">
<requestFocus />
</EditText>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:background="@android:color/transparent">
<ListView
android:id="@+id/alertSearchListView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:cacheColorHint="@null"
android:fadeScrollbars="true"
android:fastScrollEnabled="true"
android:textFilterEnabled="true" />
<TextView
android:id="@+id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:gravity="center"
android:text="Not found !"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@color/red" />
</RelativeLayout>
</LinearLayout>
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:background="@android:color/transparent">
<TextView
android:id="@+id/alertTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/alertCheckbox"
android:text="Item Name"
android:textAppearance="?android:attr/textAppearanceMedium" />
<CheckBox
android:id="@+id/alertCheckbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:clickable="false"
android:buttonTint="@color/ripple"/>
</RelativeLayout>

Some files were not shown because too many files have changed in this diff Show More