Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
HiddenPirates committed Aug 21, 2022
1 parent 3f358df commit 150e597
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@ android {
applicationId "com.hiddenpirates.callrecorder"
minSdk 29
targetSdk 32
versionCode 13
versionName "2.3"
versionCode 14
versionName "2.4"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Original file line number Diff line number Diff line change
@@ -70,6 +70,7 @@ public MyCustomViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int view
@SuppressLint({"NotifyDataSetChanged", "UseCompatLoadingForDrawables"})
@Override
public void onBindViewHolder(@NonNull MyCustomViewHolder holder, int position) {

try {
holder.fileNameTV.setText(fileInfos.getJSONObject(holder.getAdapterPosition()).getString("name"));
String fileSizeAndDate = fileInfos.getJSONObject(holder.getAdapterPosition()).get("modified_date") + "\t\t (" + fileInfos.getJSONObject(holder.getAdapterPosition()).get("size") + ")";
@@ -82,9 +83,12 @@ public void onBindViewHolder(@NonNull MyCustomViewHolder holder, int position) {

// holder.itemView.setBackgroundColor(context.getColor(R.color.white));

if (isSelectAllOptionClicked){
if (isSelectModeOn){
MainActivity.menu_selected_items_count.setTitle(selectedItemsPositionsList.size() + "");
}

if (selectedItemsPositionsList.contains(holder.getAdapterPosition())){
holder.itemView.findViewById(R.id.selectionIcon).setVisibility(View.VISIBLE);
MainActivity.menu_selected_items_count.setTitle(allPositions.size() + "");
}
else{
holder.itemView.findViewById(R.id.selectionIcon).setVisibility(View.GONE);

1 comment on commit 150e597

@shivmanish
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello bhai
i am freshar in android app development i am also working on call recorder app for self learning perpose and i am following you code .
can you help me in some doubts ?

Please sign in to comment.