Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

fix: Toast Duration #89

Merged
merged 2 commits into from
Jul 31, 2019
Merged

Conversation

AnoopkRajan
Copy link
Contributor

@AnoopkRajan AnoopkRajan commented Jul 18, 2019

Fixed: #79
Changes: Toast duration has been reduced.

Copy link
Member

@yashk2000 yashk2000 left a comment

Choose a reason for hiding this comment

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

Thanks for sending a pr. Just a few things more that you need to take care of .
Please fill in the pr template with the details mentioned. Also fix the failing build. Once you're done don't forget to squash the commits.

@AnoopkRajan
Copy link
Contributor Author

@yashk2000
Thanks for the review.
Working on the build fail.
format will be updated next PR onward.

@AnoopkRajan AnoopkRajan reopened this Jul 18, 2019
@AnoopkRajan AnoopkRajan changed the title Fix Toast Duration fix:Toast Duration Jul 19, 2019
@auto-label auto-label bot added the fix label Jul 19, 2019
@AnoopkRajan AnoopkRajan changed the title fix:Toast Duration fix: Toast Duration Jul 19, 2019
.show();
break;
case R.id.radio_pooja:
binding.totalView.setVisibility(View.VISIBLE);
flag = 1;
Toast.makeText(getBaseContext(), getString(R.string.delete_pooja), Toast.LENGTH_LONG)
Toast.makeText(getBaseContext(), getString(R.string.delete_pooja), Toast.LENGTH_SHORT)
Copy link
Member

Choose a reason for hiding this comment

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

Change to getBaseContext instead of getApplicationContext as this is that preferred way since this Context lives untill Application shuts down.
I am seeing so many unused changes please change that

Copy link
Contributor Author

@AnoopkRajan AnoopkRajan Jul 19, 2019

Choose a reason for hiding this comment

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

@Chromicle
Thanks for the review.
Can you please highlight the unused changes .
So that i can know the specifics.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should i also change to getBaseContext instead of getApplicationContext in MainActivity ?

Copy link
Member

@ajay-prabhakar ajay-prabhakar left a comment

Choose a reason for hiding this comment

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

There are 59 file changes please change them

android {
compileSdkVersion 29
buildToolsVersion "29.0.0"
defaultConfig {
Copy link
Member

Choose a reason for hiding this comment

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

This is not templeApp gradle file you created some thing application named MyApplicattion
Please revert all these

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Chromicle
Yes , I overlooked this fault .
working on it.

@AnoopkRajan AnoopkRajan force-pushed the development branch 2 times, most recently from effcf08 to 1e8cf29 Compare July 19, 2019 10:19
Copy link
Contributor Author

@AnoopkRajan AnoopkRajan left a comment

Choose a reason for hiding this comment

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

Have done the Requested modifications.
Awaiting for review and approval

Copy link
Member

@yashk2000 yashk2000 left a comment

Choose a reason for hiding this comment

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

To many unnecessary changes in the idea files. Do not add the idea files while pushing your changes please.

@AnoopkRajan AnoopkRajan force-pushed the development branch 2 times, most recently from 3be36b0 to 11224f6 Compare July 19, 2019 10:48
Copy link
Member

@immadisairaj immadisairaj left a comment

Choose a reason for hiding this comment

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

@AnoopkRajan Also can you update the pr template.

gradle.properties Outdated Show resolved Hide resolved
@AnoopkRajan AnoopkRajan force-pushed the development branch 3 times, most recently from 884a941 to 42ba927 Compare July 19, 2019 13:19
@ajay-prabhakar
Copy link
Member

@AnoopkRajan Also can you update the pr template.

@AnoopkRajan what he ment is change in Github PR template not in pull_request_template.md

# org.gradle.parallel=true
Copy link
Member

Choose a reason for hiding this comment

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

this is not a change. then why is it here. can you rectify that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted

Copy link
Member

Choose a reason for hiding this comment

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

it is not yet reverted.

@@ -0,0 +1,14 @@
# Related Issue
Copy link
Member

Choose a reason for hiding this comment

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

this is not what I meant. You have to fill the PR template for the Pull Request

Copy link
Member

@immadisairaj immadisairaj Jul 19, 2019

Choose a reason for hiding this comment

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

please revert this file

@immadisairaj
Copy link
Member

immadisairaj commented Jul 19, 2019

Fixed Toast Duration issue .

@AnoopkRajan I meant change this according to the PR template

@AnoopkRajan AnoopkRajan force-pushed the development branch 2 times, most recently from e039fb5 to 54c0cd2 Compare July 19, 2019 16:02
@AnoopkRajan
Copy link
Contributor Author

Fixed Toast Duration issue .

@AnoopkRajan I meant change this according to the PR template

Have added the PR template.

@@ -1,5 +0,0 @@
Fixed #[Add issue number here. If you do not solve the issue entirely, please change the message e.g. "First steps for issues #IssueNumber]
Copy link
Member

Choose a reason for hiding this comment

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

Why did you delete this file? Revert this please.

@yashk2000
Copy link
Member

@AnoopkRajan please revert changes to the pr template. Rest seems to be fine.

@AnoopkRajan
Copy link
Contributor Author

@AnoopkRajan please revert changes to the pr template. Rest seems to be fine.

yes .... i am working on it .

Fix Travis build

Update DeleteData.java

Update InsertData.java

Update ReadAllData.java

Update ReadSingleData.java

Update UpdateData.java

intented

Refix gradle build

Modified Requested Changes

removed

deleted code

reverted changes

changes
Copy link
Member

@yashk2000 yashk2000 left a comment

Choose a reason for hiding this comment

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

Thanks @AnoopkRajan 😄

Copy link
Member

@ajay-prabhakar ajay-prabhakar left a comment

Choose a reason for hiding this comment

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

@AnoopkRajan great work
Thanks for doing everything with patience 👍

@vchrombie
Copy link
Member

Thanks, @AnoopkRajan for the PR. 🙂

@vchrombie vchrombie merged commit 2345475 into amfoss:development Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toast messages are displayed for a very long time
5 participants