-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from inu-appcenter/feature
Feature
- Loading branch information
Showing
12 changed files
with
623 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":3,"versionName":"1.0.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] | ||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":5,"versionName":"1.0.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
app/src/main/java/com/inuappcenter/shareu/activity/AlreadyDownloadedActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package com.inuappcenter.shareu.activity; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.view.View; | ||
import android.widget.ImageButton; | ||
import android.widget.TextView; | ||
|
||
import com.inuappcenter.shareu.R; | ||
|
||
import androidx.annotation.Nullable; | ||
import androidx.appcompat.app.AppCompatActivity; | ||
|
||
public class AlreadyDownloadedActivity extends AppCompatActivity { | ||
|
||
private ImageButton btn_back_home; | ||
private ImageButton btn_ok; | ||
private TextView textView; | ||
@Override | ||
protected void onCreate(@Nullable Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_downloaded); | ||
textView=findViewById(R.id.textView); | ||
textView.setText("0"); | ||
btn_back_home = findViewById(R.id.btn_back_home); | ||
btn_ok = findViewById(R.id.btn_ok); | ||
btn_back_home.setOnClickListener(v->finish()); | ||
btn_ok.setOnClickListener(new View.OnClickListener(){ | ||
@Override | ||
public void onClick(View view) { | ||
Intent intent = new Intent(getApplicationContext(),MyGiveActivity.class); | ||
startActivity(intent); | ||
finish(); | ||
|
||
} | ||
}); | ||
} | ||
|
||
@Override | ||
public void onBackPressed() { | ||
super.onBackPressed(); | ||
finish(); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
app/src/main/java/com/inuappcenter/shareu/activity/DownloadedActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package com.inuappcenter.shareu.activity; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.view.View; | ||
import android.widget.ImageButton; | ||
import android.widget.TextView; | ||
|
||
import com.inuappcenter.shareu.R; | ||
|
||
import androidx.annotation.Nullable; | ||
import androidx.appcompat.app.AppCompatActivity; | ||
|
||
public class DownloadedActivity extends AppCompatActivity { | ||
|
||
private ImageButton btn_back_home; | ||
private ImageButton btn_ok; | ||
private TextView textView; | ||
@Override | ||
protected void onCreate(@Nullable Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_downloaded); | ||
textView=findViewById(R.id.textView); | ||
textView.setText("-3"); | ||
btn_back_home = findViewById(R.id.btn_back_home); | ||
btn_ok = findViewById(R.id.btn_ok); | ||
btn_back_home.setOnClickListener(v->finish()); | ||
btn_ok.setOnClickListener(new View.OnClickListener(){ | ||
@Override | ||
public void onClick(View view) { | ||
Intent intent = new Intent(getApplicationContext(),MyGiveActivity.class); | ||
startActivity(intent); | ||
finish(); | ||
|
||
} | ||
}); | ||
} | ||
|
||
@Override | ||
public void onBackPressed() { | ||
super.onBackPressed(); | ||
finish(); | ||
} | ||
} | ||
|
Oops, something went wrong.