Skip to content

Commit

Permalink
Version 2.3.0 updated Version Code in Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
vimalthanikachalam committed Jun 6, 2020
1 parent 13b26f7 commit 9a47d35
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
minSdkVersion 22
multiDexEnabled true;
targetSdkVersion 29
versionCode 200
versionName "2.1.1"
versionCode 210
versionName "2.3.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Binary file added app/release/app-release.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":200,"versionName":"2.1.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":210,"versionName":"2.3.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release","dirName":""},"path":"app-release.apk","properties":{}}]
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.recyclerview.widget.DefaultItemAnimator;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;


import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.ProgressBar;
Expand All @@ -26,7 +23,6 @@
import com.google.firebase.firestore.Query;
import com.google.firebase.firestore.QuerySnapshot;
import com.mystreetprayer.app.alarmclock.adapter.KPC_LyricsAdapter;
import com.mystreetprayer.app.alarmclock.adapter.KPC_NotificationAdapter;
import com.mystreetprayer.app.alarmclock.view.KPC_Lyrics_Firestore;
import com.mystreetprayer.app.alarmclock.view.KPC_Notify_Firestore;

Expand Down Expand Up @@ -95,9 +91,6 @@ public void onComplete(@NonNull Task<QuerySnapshot> task) {
RecyclerView recyclerView = findViewById(R.id.sermons_recycler_view);
recyclerView.setHasFixedSize(true);

// RecyclerView.LayoutManager layoutManager = new GridLayoutManager(this, 2);
// recyclerView.setLayoutManager(layoutManager);
// recyclerView.setItemAnimator(new DefaultItemAnimator());
LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this);
recyclerView.setLayoutManager(linearLayoutManager);
recyclerView.setAdapter(lyricsAdapter);
Expand All @@ -114,10 +107,7 @@ public void onItemClick(DocumentSnapshot documentSnapshot, int position) {
intent.putExtra("url", url);
startActivity(intent);

// //Launch the Action to External Browser
// Intent webLink = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
// startActivity(webLink);
Toast.makeText(Lyrics_MainActivity.this, "Opening : " + url, Toast.LENGTH_SHORT).show();
Toast.makeText(Lyrics_MainActivity.this, "Opening" , Toast.LENGTH_SHORT).show();
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void onItemClick(DocumentSnapshot documentSnapshot, int position) {
//Launch the Action to External Browser
Intent webLink = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(webLink);
Toast.makeText(NotificationActivity.this, "Opening : " + url, Toast.LENGTH_SHORT).show();
Toast.makeText(NotificationActivity.this, "Opening", Toast.LENGTH_SHORT).show();
}
});

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/mystreetprayer/app/VideosActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void onClick(View v) {

FloatingActionButton floatingActionButton = (FloatingActionButton) findViewById(R.id.create_new_video);
//Enable only for Admin
//floatingActionButton.setVisibility(View.GONE);
floatingActionButton.setVisibility(View.VISIBLE);
floatingActionButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Expand Down Expand Up @@ -108,7 +108,7 @@ public void onItemClick(DocumentSnapshot documentSnapshot, int position) {
Intent webLink = new Intent(Intent.ACTION_VIEW, Uri.parse(videourl));
startActivity(webLink);

Toast.makeText(VideosActivity.this, "Playing Video : " + videourl, Toast.LENGTH_SHORT).show();
Toast.makeText(VideosActivity.this, "Playing Video" , Toast.LENGTH_SHORT).show();
}
});
}
Expand Down

0 comments on commit 9a47d35

Please sign in to comment.