I am having one app where i created a view. And i want to use the same view in another application. Is there any way to pass the second apps context as parameter to the view. So that the view is created second application’s context.
Or is there any way to create a view library so that many applications use that view library to create views.
Ron
You can create a class and call it
CustomViewwich extendsViewand customize the view. Then, you can use it in both apps.However, since you already created your view, my suggestion is to copy-paste the code into your new app unless you are planning to use the same view in future apps.