<commit_before>package it.feio.android.checklistview.demo;

import java.util.prefs.PreferenceChangeEvent;
import java.util.prefs.PreferenceChangeListener;

import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;

public class SettingsActivity extends PreferenceActivity implements PreferenceChangeListener{
	private SharedPreferences prefs;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		addPreferencesFromResource(R.xml.settings);
	}

	@Override
	public void preferenceChange(PreferenceChangeEvent pce) {
		prefs = PreferenceManager.getDefaultSharedPreferences(this);
		prefs.edit().putBoolean("refresh", true).commit();
		
	}
	
}<commit_msg>Fixed drag & drop enabling for newly added items<commit_after>package it.feio.android.checklistview.demo;

import java.util.prefs.PreferenceChangeEvent;
import java.util.prefs.PreferenceChangeListener;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;

public class SettingsActivity extends PreferenceActivity implements PreferenceChangeListener{
	private SharedPreferences prefs;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		addPreferencesFromResource(R.xml.settings);
	}

	@Override
	public void preferenceChange(PreferenceChangeEvent pce) {
		prefs = PreferenceManager.getDefaultSharedPreferences(this);
		prefs.edit().putBoolean("refresh", true).commit();
		
	}
	
}
{'fraction_non_alphanumeric': 0.08323632130384168, 'fraction_numerical': 0.0, 'mean_word_length': 6.885321100917431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7487353', 'n_tokens_mistral': 480, 'n_tokens_neox': 452, 'n_words': 95}