Skip to content

Commit 5bec616

Browse files
committed
Added recycler view onclicklistener to completed, missed, achievements cards
1 parent 7b16883 commit 5bec616

16 files changed

+329
-11
lines changed
538 Bytes
Binary file not shown.

.idea/misc.xml

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
apply plugin: 'com.android.application'
32

43
android {

app/src/main/AndroidManifest.xml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.example.dhananjay.dailygoals">
44

5+
<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
6+
57
<application
68
android:allowBackup="true"
79
android:icon="@mipmap/ic_launcher"
@@ -16,13 +18,20 @@
1618
<category android:name="android.intent.category.LAUNCHER" />
1719
</intent-filter>
1820
</activity>
19-
<activity android:name=".WelcomeScreenActivity"
20-
android:theme="@style/WelcomeScreenTheme"
21-
android:screenOrientation="portrait"/>
22-
<activity android:name=".TodayActivity"></activity>
23-
<activity android:name=".PopupActivity"
24-
android:theme="@style/AppTheme.CustomTheme"></activity>
25-
<receiver android:name=".NotificationActivity"></receiver>
21+
<activity
22+
android:name=".WelcomeScreenActivity"
23+
android:screenOrientation="portrait"
24+
android:theme="@style/WelcomeScreenTheme" />
25+
<activity android:name=".TodayActivity" />
26+
<activity
27+
android:name=".PopupActivity"
28+
android:theme="@style/AppTheme.CustomTheme" />
29+
30+
<receiver android:name=".NotificationActivity" />
31+
32+
<activity android:name=".Goals_Completed" />
33+
<activity android:name=".Goals_Missed" />
34+
<activity android:name=".Achievements"></activity>
2635
</application>
27-
<uses-permission android:name="com.android.alarm.permission.SET_ALARM"></uses-permission>
28-
</manifest>
36+
37+
</manifest>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.example.dhananjay.dailygoals;
2+
3+
import android.support.v7.app.AppCompatActivity;
4+
import android.os.Bundle;
5+
6+
public class Achievements extends AppCompatActivity {
7+
8+
@Override
9+
protected void onCreate(Bundle savedInstanceState) {
10+
super.onCreate(savedInstanceState);
11+
setContentView(R.layout.activity_achievements);
12+
}
13+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package com.example.dhananjay.dailygoals;
2+
3+
4+
import android.view.View;
5+
6+
public interface ClickListener{
7+
public void onClick(View view, int position);
8+
public void onLongClick(View view,int position);
9+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.example.dhananjay.dailygoals;
2+
3+
import android.support.v7.app.AppCompatActivity;
4+
import android.os.Bundle;
5+
6+
public class Goals_Completed extends AppCompatActivity {
7+
8+
@Override
9+
protected void onCreate(Bundle savedInstanceState) {
10+
super.onCreate(savedInstanceState);
11+
setContentView(R.layout.activity_goals__completed);
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.example.dhananjay.dailygoals;
2+
3+
import android.support.v7.app.AppCompatActivity;
4+
import android.os.Bundle;
5+
6+
public class Goals_Missed extends AppCompatActivity {
7+
8+
@Override
9+
protected void onCreate(Bundle savedInstanceState) {
10+
super.onCreate(savedInstanceState);
11+
setContentView(R.layout.activity_goals__missed);
12+
}
13+
}

0 commit comments

Comments
 (0)