Android Open Source - RaceTimer Meet






From Project

Back to project page RaceTimer.

License

The source code is released under:

GNU General Public License

If you think the Android project RaceTimer 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.liamfruzyna.android.racetimer.objects;
//  w w w.  j a v a 2 s . c  o m
import com.liamfruzyna.android.racetimer.AppData;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by mail929 on 9/13/14.
 */
public class Meet
{
    public int id;
    public String name;
    public String shortName;
    public List<Event> events = new ArrayList<Event>();

    public Meet(int id, String name, String shortName, List<Event> events)
    {
        this.id = id;
        this.name = name;
        this.shortName = shortName;
        this.events = events;
    }

    public Meet(int id, String name, String shortName)
    {
        this.id = id;
        this.name = name;
        this.shortName = shortName;
        events = new ArrayList<Event>();
    }

    public void addEvent(double distance, List<Double> checkPoints, String level, List<Integer> runners)
    {
        events.add(new Event(events.size(), id, distance, checkPoints, level, runners, false));
        AppData.save();
    }
}




Java Source Code List

com.liamfruzyna.android.racetimer.AppData.java
com.liamfruzyna.android.racetimer.ApplicationTest.java
com.liamfruzyna.android.racetimer.Fab.java
com.liamfruzyna.android.racetimer.RTActivity.java
com.liamfruzyna.android.racetimer.fragments.AddEventFragment.java
com.liamfruzyna.android.racetimer.fragments.AddMeetFragment.java
com.liamfruzyna.android.racetimer.fragments.AddTeamFragment.java
com.liamfruzyna.android.racetimer.fragments.EventFragment.java
com.liamfruzyna.android.racetimer.fragments.HomeFragment.java
com.liamfruzyna.android.racetimer.fragments.InRaceFragment.java
com.liamfruzyna.android.racetimer.fragments.MeetFragment.java
com.liamfruzyna.android.racetimer.fragments.RunnerFragment.java
com.liamfruzyna.android.racetimer.fragments.TeamFragment.java
com.liamfruzyna.android.racetimer.objects.Event.java
com.liamfruzyna.android.racetimer.objects.Meet.java
com.liamfruzyna.android.racetimer.objects.Runner.java
com.liamfruzyna.android.racetimer.objects.Team.java
com.liamfruzyna.android.racetimer.objects.Time.java