This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.collect.ImmutableList; | |
import com.google.common.collect.ImmutableSet; | |
import java.util.HashSet; | |
import java.util.Set; | |
interface FJExpression { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10-01 11:13:50.819 18503-18809/? E/Parcel﹕ Class not found when unmarshalling: cz.cvut.kosapp.model.entities.Parallel | |
java.lang.ClassNotFoundException: cz.cvut.kosapp.model.entities.Parallel | |
at java.lang.Class.classForName(Native Method) | |
at java.lang.Class.forName(Class.java:204) | |
at java.lang.Class.forName(Class.java:169) | |
at android.os.Parcel.readParcelableCreator(Parcel.java:2091) | |
at android.os.Parcel.readParcelable(Parcel.java:2055) | |
at android.os.Parcel.readValue(Parcel.java:1971) | |
at android.os.Parcel.readMapInternal(Parcel.java:2255) | |
at android.os.Bundle.unparcel(Bundle.java:223) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Parallel implements IEntity{ | |
public static final String EXTRA = "parallels"; | |
public String id = "", updated = "", course = "", courseURL = "", semester = "", semesterURL = "", teacher = "", teacherURL = "", | |
parity = "", room = "", roomURL = "", parallelType = "", studentsCode = "", link = ""; | |
public int capacity, code, day, duration, firstHour, occupied; | |
public boolean capacityOverfill, enrollment; | |
public Parallel() { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Timeslot implements Parcelable { | |
public static final int MONDAY = 1, | |
TUESDAY = 2, | |
WEDNESDAY = 3, | |
THURSDAY = 4, | |
FRIDAY = 5, | |
SATURDAY = 6, | |
SUNDAY = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Singleton{ | |
private static volatile Singleton instance; | |
private Singleton(){} | |
public static Singleton getInstance(){ | |
if(instance == null){ | |
synchronized (Singleton.class){ | |
if(instance == null){ | |
instance = new Singleton(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum BestSingleton{ | |
INSTANCE; | |
private BestSingleton(){}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.simekadam.launchertestapp; | |
import java.util.Locale; | |
import android.app.Activity; | |
import android.app.ActivityManager; | |
import android.content.ComponentName; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Handler; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/list_item" | |
android:layout_width="fill_parent" | |
android:layout_height="64sp" | |
android:background="@drawable/list_item_layout" | |
android:clickable="false" | |
android:focusable="true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="pressed_kosapp">#00436A</color> | |
<drawable name="pressed_bg_kosapp">@color/pressed_kosapp</drawable> | |
<color name="main_kosapp">#0065a3</color> | |
<color name="dark_gray_kosapp">#303030</color> | |
<color name="medium_dark_gray_kosapp">#505050</color> | |
<color name="medium_light_gray_kosapp">#909090</color> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="Theme.Kosapp.Text.Light"> | |
<item name="android:fontFamily">sans-serif-light</item> | |
</style> | |
<style name="Theme.Kosapp.Text.Light.Bold"> | |
<item name="android:fontFamily">sans-serif-light-bold</item> | |
</style> | |
<style name="Theme.Kosapp.Text.Thin"> |