This repository has been archived on 2020-06-04. You can view files and clone it, but cannot push or open issues or pull requests.
GitNex/app/src/main/java/org/mian/gitnex/helpers/StaticGlobalVariables.java
M M Arif b30e2da387
All checks were successful
continuous-integration/drone/push Build is passing
Milestones filter(open/close) + refactor (#506)
remove strings

translation: generic but with contecxt

Merge branch 'milestones-filter' of gitea.com:gitnex/GitNex into milestones-filter

Clean up strings

Merge branch 'master' into milestones-filter

clean up and add missing parts

enhance and refactor milestone, added filter for closed and open ms

change to viewbinding

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: #506
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-05-23 17:54:16 +00:00

30 lines
642 B
Java

package org.mian.gitnex.helpers;
/**
* Author M M Arif
*/
public interface StaticGlobalVariables {
// generic values
int resultLimitNewGiteaInstances = 25; // Gitea 1.12 and above
int resultLimitOldGiteaInstances = 10; // Gitea 1.11 and below
// tags
String tagMilestonesFragment = "MilestonesFragment";
String tagPullRequestsList = "PullRequestsListFragment";
String tagIssuesList = "IssuesListFragment";
String tagMilestonesAdapter = "MilestonesAdapter";
// issues variables
int issuesPageInit = 1;
String issuesRequestType = "issues";
// pull request
int prPageInit = 1;
// milestone
int milestonesPageInit = 1;
}