如何在Android中永久性地将数据从一个视图显示到另一个视图 [英] How Do I Display Data From One View To Another Permanently In Android

查看:100
本文介绍了如何在Android中永久性地将数据从一个视图显示到另一个视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



这是我的要求,我有两个观点:

1.在第一个视图中,我有4个文字字段并保存,取消按钮。

2.单击保存按钮输入数据后,数据应显示在第二个视图中。在第二个视图中,它应显示为listvview。

3.同时,如果用户输入数据10次,则应显示在第二个视图中(1-10)。

4.注意:最重要的是如果关闭应用程序并重新打开应用程序第二个视图应该包含并显示相同的输入数据。



是否可以这样做?请帮我。任何教程或示例都对我有很大帮助。



谢谢

Hi All,

Here is my requirement,I have two views:
1.In first view, i have 4 text fields and save, cancel buttons.
2.After entering data when i click the save button, data should display in the second view. In second view, it should display as listvview.
3.At the same time, if user enters data 10 times it should display in the second view(1-10).
4.Note: Main important thing is if close the app and reopen the app second view should contain and display the same entered data.

is it possible to do? Please help me. Any tutorial or example helps me a lot.

Thanks

推荐答案

http://developer.android.com/training/index.html [ ^ ]


这篇关于如何在Android中永久性地将数据从一个视图显示到另一个视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆