如何在ListView中的不同页面之间导航?

时间:2016-10-31 08:10:19

标签: android listview xamarin.forms

我做了一个简短的XamarinForms项目,现在我应该在站点之间导航。这意味着理想版本将是一个消息框,然后我可以点击“k”以进入另一个xamarinforms列表视图页面。

另一个问题是,我不知道如何在那里包含一个消息框。

但由于我是初学者,我不知道该怎么做?

Tensor("BiRNN_FW/BiRNN_FW/MultiRNNCell_49/Cell2/BasicLSTMCell/add_2:0", shape=(20, 200), dtype=float16)
Traceback (most recent call last):
  File "/home/user/PycharmProjects/semantic-understanding/experiment/RNNClassification/test.py", line 75, in <module>
    model = RNNModel(config)
   File "/home/user/PycharmProjects/semantic-understanding/experiment/RNNClassification/test.py", line 53, in __init__
    grads, _ = tf.clip_by_global_norm(tf.gradients(cost, tvars), config.max_grad_norm)
  File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/gradients.py", line 476, in gradients
    in_grads = _AsList(grad_fn(op, *out_grads))
   File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/array_grad.py", line 194, in _SplitGrad
    return None, array_ops.concat(op.inputs[0], list(grads))
  File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 697, in concat
name=name)
  File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 414, in _concat
values=values, name=name)
  File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 703, in apply_op
    op_def=op_def)
  File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2319, in create_op
set_shapes_for_outputs(ret)
  File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1711, in set_shapes_for_outputs
    shapes = shape_func(op)
  File "/home/user/anaconda2-tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.py", line 753, in _ConcatShape
(value_shape.ndims, concat_dim))
ValueError: Expected concat_dim in range [0, 1), but got 1

0 个答案:

没有答案