droiuby 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/droiuby/wrappers/view_group_wrapper.rb +6 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c6ff04f6a5e9cb16a20c96bdbebecda9f3020f7
|
4
|
+
data.tar.gz: ad821125f554248da8b1deef8f152172357e0a78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf675b9c51881c61d0f929d2e059bcf0972b9c73003abda80397ba95bb4cb192fa25705072efc957cf6fa17f28260ee9942c50da7aa44b07f7793f58edd802ce
|
7
|
+
data.tar.gz: 3eac88fb9fc301bc9b01cff02b2cf788edbe8221fe94602ad1c0d7a3c3dc1c380b6f5137fb270ecb362a9efe00d53fdbf1f03922d1f2e429af96db369ad85828
|
@@ -19,7 +19,7 @@ class ViewGroupWrapper < ViewWrapper
|
|
19
19
|
end
|
20
20
|
after_partial_setup(self)
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
def <<(markup_or_view)
|
24
24
|
append(markup_or_view)
|
25
25
|
end
|
@@ -36,6 +36,10 @@ class ViewGroupWrapper < ViewWrapper
|
|
36
36
|
@view.getChildCount
|
37
37
|
end
|
38
38
|
|
39
|
+
def remove_all_views
|
40
|
+
@view.removeAllViews
|
41
|
+
end
|
42
|
+
|
39
43
|
def children
|
40
44
|
wrapped_views = (0...self.count).collect { |i|
|
41
45
|
wrap_native_view(self.child(i))
|
@@ -82,4 +86,4 @@ class ViewGroupWrapper < ViewWrapper
|
|
82
86
|
end
|
83
87
|
end
|
84
88
|
|
85
|
-
end
|
89
|
+
end
|