[Library] ViewExtender - Expand your views!

XverhelstX

Well-Known Member
Licensed User
Longtime User
ViewExtender - Extend your views!

This library lets you expand your capabilities of your view with a lot of new methods. Almost every method from the Android Developer website has been ported to Basic4Android. You could check out the methods here:
View | Android Developers




Requirements:
- Basic4Android
- Android 1.6+ (Some methods need api 7, 11 or 16) (Always check the docs!)
- ViewExtender Library



What will you get from me:
- The library files
- A readme file. (Disclaimer.)
- Tons of new methods!
- LinearLayout object!
- RelativeLayout object!
- FrameLayout object!
- GridView!

Payment
The price of the library is free.
However, you can still donate me in my signature to support me.


Kind regards,
Tomas
 

Attachments

  • ViewExtender1.0.zip
    27.6 KB · Views: 589

Informatix

Expert
Licensed User
Longtime User
I don't understand how to use this library. I tried to create a GridView. No problem, but all useful functions to fill it with content are missing. I can fill it with the help of the reflection library, but I can also create a GridView with this library, so I don't really need something else if I have to use it. And I don't understand how to "extend" the existing views. A little help would be necessary.
 
Last edited:

XverhelstX

Well-Known Member
Licensed User
Longtime User
The library extends the normal B4A view with more methods.
In your initialize method, you can specify the view.

B4X:
dim ve as viewextended
ve.initialize("EventName", vwButton)
ve.doanymethodhere

something like this.

For the GridView and other layouts, I just created an object.
I'll provide more methods in later updates. I needed these views and layouts for a new library that I am making.

If you require any methods for the gridview, please let me know.

Tomas
 

pmg

Member
Licensed User
Longtime User
Hi.

I have downloaded viewExtender and have put it in the additional libraries directory. But I don't know how to continue.

Does it show up as part of the designer?

What layouts are implemented?

Could you point the way for the unenlightened?

Thanks.
 

Mansour01

Member
Licensed User
Longtime User
The library extends the normal B4A view with more methods.
In your initialize method, you can specify the view.

B4X:
dim ve as viewextended
ve.initialize("EventName", vwButton)
ve.doanymethodhere

something like this.

For the GridView and other layouts, I just created an object.
I'll provide more methods in later updates. I needed these views and layouts for a new library that I am making.

If you require any methods for the gridview, please let me know.

Tomas
Brilliant !
One of the best !!!!
thank you
 

Creaky

Member
Licensed User
Longtime User
Nice library!
I see a lot of potential in the rotation method alone :)

One thing though, every time I initialize the ViewExtender I get the following message in the log:
"PDFViewer has been initialized." :D
 

jfranz

Member
Licensed User
Longtime User
I don't get it either. I can create and initialize all of the new views listed above. For example I can create a LinearLayout but how do I add new views to this layout? I would expect something like the following:

B4X:
dim ll as LinearLayout
ll.Initialize("ll")
dim et as EditText
et.Initialize("asdfasdf")
ll.AddView(et)

It seems like these new views are simply that, views and not containers like Panel or ScrollView. I was thinking maybe the RootView or maybe AddOnLayoutChangeListener but neither one seems usable to me.

I would gladly donate if like Roger Garstang said we could develop layouts that flowed instead of coding view positions.

Is this library simply abandoned?
 
Top