我在列表中有50个列表项.现在我已经检查了10项,所以当我点击删除按钮时,如何从列表视图中删除(删除)这个10项检查项目.
这是我的代码
请查看我的代码和响应错误在哪里:
public class BookmarksJokes extends Activity implements OnClickListener,
OnItemClickListener {
ListView lv;
Button btn_delete;
public String TAG = "horror";
private SQLiteDatabase db;
public static final String PREFS_NAME = "MyPreferences";
static String[] tempTitle = new String[100];
static String[] tempBody = new String[100];
private static boolean bRequiresResponse;
private static class EfficientAdapter extends BaseAdapter {
private LayoutInflater mInflater;
public EfficientAdapter(Context context) {
mInflater = LayoutInflater.from(context);
}
public int getCount() {
return tempTitle.length;
}
public Object getItem(int position) {
return position; …Run Code Online (Sandbox Code Playgroud) 可以一次选择多个单选按钮吗?就像checkbok一样.我必须在图中显示更多.

请帮我.
Uygulamaöncedençalışıyordu.
Amaşimdiçalışmıyor
这是gradle sync时的错误消息
这是我的应用程序Gradle配置:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName '1.0'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.txt'
}
}
repositories {
jcenter()
mavenCentral() // GPUImage for Android
}
dexOptions {
javaMaxHeapSize "4g"
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('libs/acra-4.5.0.jar')
compile files('libs/ormlite-android-4.43.jar')
compile files('libs/ormlite-core-4.43.jar')
compile files('libs/mysql-connector-java-3.0.17-ga-bin.jar')
androidTestCompile('com.android.support.test.espresso:espresso-
core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// …Run Code Online (Sandbox Code Playgroud) 我只是喜欢这个数字,从中得到价值,

在这里我使用了SeekBar,但在我提到的图中无法获得价值.你们能帮我解决这个问题吗?
那么请同时向我提供信息,获得此类价值的最佳解决方案是什么?
Here all are differenet seek bar.
第一个SeekBar有25%,第二个寻求Baar 50%.如果我有滚动搜索栏,则同时增加或减少框中的百分比.
我试着\b \t \n \f \r \" \' \\在字符串里面定义但是得到了
Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ ).
我正在从网上获取加密数据,就像这样.
String testString="4sXuWJ4juj\/RS46l7xFLK|awhVBqNga\/BbyNt7t3Q\/DJ7OhHNix8G2PDyAFSGw+1E=";
在这里,我想基于分裂字符串|.所以我想尝试放入字符串.任何想法如何拆分| 在java中.
任何想法,如何分裂,如果我从web.in 获取这种类型的字符串数据testString使用某些spitting参数.喜欢|,\和其他人.
我想保留数据,而不使用SQLite数据库.我能为这份工作做些什么?
android ×7
checkbox ×1
git ×1
java ×1
list ×1
persistence ×1
radio-button ×1
regex ×1
seekbar ×1
string ×1