package task.application.com.moviefinder;

import android.app.Application;

import io.realm.Realm;
import io.realm.RealmConfiguration;

/**
 * Created by sHIVAM on 2/19/2017.
 */

public class ApplicationClass extends Application {

    private static ApplicationClass instance;

    public ApplicationClass() {
        super();
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        Realm.init(this);
        RealmConfiguration config = new RealmConfiguration.Builder().build();
        Realm.setDefaultConfiguration(config);
    }

    public static synchronized ApplicationClass getInstance() {
        return instance;
    }
}

@@ -271,16 +271,151 @@
 nstance;
+%0A    public static final String API_KEY = %221d49e17fa9eb8f8d72d20a75af1099b1%22;%0A    public static final String OMDB_API_KEY = %2211ccb3f8%22;
 %0A%0A    pu

change in search activity layout