Elements. Build native projects for any modern development platform, using the language(s) of your choice. Oxygene (Object Pascal), C#, Swift, Java, Go. | RemObjects Software

ListView

Language: Oxygene, Platform: Cooper, Category: Android
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/Cooper/Android/ListView

AboutActivity.pas

namespace org.me.listviewapp;

interface

uses
  android.app,
  android.os;

type
  //This activity apppears as a dialog over the previous activity,
  //thanks to a theme specified against it in the Android manifest file
  AboutActivity = public class(Activity)
  public
    method onCreate(savedInstanceState: Bundle); override;
  end;

implementation

method AboutActivity.onCreate(savedInstanceState: Bundle);
begin
  inherited;
  setContentView(R.layout.about);
end;

end.