我想把edittext从第一个活动放到新的第二个活动视图文本。
当我在Android监视器中显示如下错误时该怎么办:
$("#carpet_cleaning option:selected").val()
也:
渲染问题:
无法解析资源@id / visible
提示:尝试刷新布局。
DrawerAddAd类代码:
$("#carpet_cleaning").change(function () {
UpdateResult();
});
$("#dining_rooms").change(function () {
UpdateResult();
});
function UpdateResult()
{
var result = 'Your price quote is: ' + (($("#carpet_cleaning option:selected").val() * 10) + ($("#dining_rooms option:selected").val() * 20))
$("#output1").text(result).fadeIn();
}
ProductDetails类代码:
com.example.xx.DrawerAddAd.seeAdd(DrawerAddAd.java:129)
com.example.xx.DrawerAddAd.access$100(DrawerAddAd.java:40)
com.example.xx.DrawerAddAd$2.onClick(DrawerAddAd.java:116)
我不知道该怎么做......
谢谢,Slawek。
答案 0 :(得分:0)
表示Sub rar()
Dim i As Long, rng As Range
With Worksheets("Sheet1") 'DEFINES WHICH SHEET TO USE'
For i = 3 to .Cells(.Rows.Count, "A").End(xlUp).Row
If .Cells(i, 1).Value = .Cells(i - 1, 1).Value Then
If rng Is Nothing Then
Set rng = .Rows(i - 2 & ":" & i)
Else
Set rng = Union(rng, .Rows(i - 2 & ":" & i))
End If
End If
Next i
End With
rng.Delete
End Sub
为空。
检查您的xml文件和title_Ad_editText
变量。
答案 1 :(得分:0)
我能看到的几件事情,重做一遍:
private void seeAdd() {
Intent intent = new Intent(getApplicationContext(), ProductDetails.class);
intent.putExtra("title",titleAd_editText.getText().toString());
intent.putExtra("text", textAd_editText.getText().toString());
到此:
private void seeAdd() {
Intent intent = new Intent(DrawerAddAd.this, ProductDetails.class);
intent.putExtra("title",titleAd_editText.getText().toString());
intent.putExtra("text", textAd_editText.getText().toString());
然后在你的意图中,你需要完全按照设定调用额外的,改变它:
Intent intent = getIntent();
// Bundle bundle = getIntent().getExtras();
String title_textView = intent.getStringExtra("titleAdd");
String text_textView = intent.getStringExtra("textAdd");
到此:
Intent intent = getIntent();
// Bundle bundle = getIntent().getExtras();
String title_textView = intent.getStringExtra("title");
String text_textView = intent.getStringExtra("text");