Android Open Source - Android-Perka Application Form






From Project

Back to project page Android-Perka.

License

The source code is released under:

Apache License

If you think the Android project Android-Perka listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.michaelbarany.perka;
//from  w  w  w. j  a v a  2 s. c o  m
public class ApplicationForm {
    String first_name;
    String last_name;
    String email;
    String position_id = "ANDROID";
    String explanation = "https://github.com/mbarany/Android-Perka";
    String source;
    String resume;

    /**
     * resume gets validated later
     */
    public boolean validates() {
        return !hasNulls()
            && first_name.length() > 0
            && last_name.length() > 0
            && email.length() > 0
            && source.length() > 0;
    }

    private boolean hasNulls() {
        return null == first_name
            || null == last_name
            || null == email
            || null == source;
    }
}




Java Source Code List

com.michaelbarany.perka.Api.java
com.michaelbarany.perka.ApplicationForm.java
com.michaelbarany.perka.ApplyService.java
com.michaelbarany.perka.MainActivity.java