Giter Club home page Giter Club logo

lend_a_hand's People

Contributors

fezilemahlangu avatar harushii18 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

fezilemahlangu

lend_a_hand's Issues

Skip button for onboarding screen

Need to add this because it's tiring to keep seeing the onboarding screens on every installation when testing. Also if someone re-installs the app, they will want to skip it

Error in password inputs donee reg screen + eventual donor reg screen

If a user modifies the re-enter password field first, and then enter password, the error doesn't disappear. It works and goes to the next screen, but the error needs to be removed. It is possible for a scenario like this to arise, and could end up making the user feel uncertain on if their passwords matching is correct due to the error persisting. Needs to be sorted out.

Donor reg screen text enhancement

Need to add a divider between the "Donor Registration" text and the viewpager, make the sentence worded as stated, no longer caps.

Locking activities to portrait mode

In the manifest, for every activity, add:
android:screenOrientation="portrait" tools:ignore="LockedOrientationActivity"
in every activity tag e.g.

<activity android:name=".RegActivity5" android:screenOrientation="portrait" tools:ignore="LockedOrientationActivity" />

Splash screen history

Need to remove the no history attribute, and instead kill the process by removing it from the stack. Current situation makes it such that user cannot exit the app on back button pressed, which should not be the case.

Making use of the shared preferences

After fetching the code, to access the username, simply call up

StayLoggedIn.getUserName(YourActivity.this)

when you want to fetch who the current user is

Checking connectivity before every okhttp request

After fetching code, simply encapsulate your code in this if/else statement:
//check connectivity GlobalConnectivityCheck globalConnectivityCheck = new GlobalConnectivityCheck(getApplicationContext());
if (!globalConnectivityCheck.isNetworkConnected()) {

//if internet is not connected
Toast toast=Toast.makeText(getApplicationContext(),getText(R.string.txt_internet_disconnected),Toast.LENGTH_SHORT);
toast.show();

} else {
//your code goes here
}

Sending email on order created

Edit the following code accordingly with the contents you'd like them to see
//send email to user telling them that their account has been created new Thread(new Runnable() { @Override public void run() { try { GMailSender sender = new GMailSender(getText(R.string.txt_developer_email).toString(), getText(R.string.txt_developer_pword).toString()); sender.sendMail(getText(R.string.txt_email_subject).toString(), getText(R.string.txt_email_body_common).toString()+strUsername+getText(R.string.txt_email_body_donee).toString(), getText(R.string.txt_developer_email).toString(), strEmail); } catch (Exception e) { Log.e("SendMail", e.getMessage(), e); } } }).start();

Sign out

After fetching code, use this for the sign out menu on click event:
StayLoggedIn.clearUserDetails(YourActivity.this); Intent intent = new Intent(this, LoginScreenActivity.class); startActivity(intent); finish();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.