Java android中数据库的动态列表视图

Java android中数据库的动态列表视图,java,android,sqlite,android-layout,android-emulator,Java,Android,Sqlite,Android Layout,Android Emulator,我正在开发一个android应用程序,在这个应用程序中,我必须显示动态变化的用户列表视图,如下所示 当用户第一次打开时,它必须显示“创建新的”点击,点击该按钮将生成一个新表单。例如,在创建时,它保存在SQLite DB(静态1)中 2.当用户创建并再次打开应用程序时,必须显示 1.固定1再订购 2.创建新的 请给出你的宝贵意见 问候 ChinniKrishna Kothapalli首先了解如何生成列表视图。然后,您可以了解如何使用SQLite数据库,以便从数据库中插入和检索。一旦您能够执行这些操

我正在开发一个android应用程序,在这个应用程序中,我必须显示动态变化的用户列表视图,如下所示

  • 当用户第一次打开时,它必须显示“创建新的”点击,点击该按钮将生成一个新表单。例如,在创建时,它保存在SQLite DB(静态1)中
  • 2.当用户创建并再次打开应用程序时,必须显示 1.固定1再订购 2.创建新的

    请给出你的宝贵意见

    问候
    ChinniKrishna Kothapalli首先了解如何生成列表视图。然后,您可以了解如何使用SQLite数据库,以便从数据库中插入和检索。一旦您能够执行这些操作,现在就可以开始执行任务。步骤如下

    Retrieve value from the databse
    
    Populate the UI which has a list populated from the retrieval values and a button with text
      create and an EditText.
    
    In onClick method of button retrieve the text from EditText and save it to the Database and
      refresh the list(adding the newly created one to the list).