README.md in motion-prime-0.5.4 vs README.md in motion-prime-0.5.5
- old
+ new
@@ -41,12 +41,12 @@
# app/screens/main_screen.rb
class MainScreen < Prime::Screen
title 'Main screen'
def render
- @main_section = MyProfileSection.new(model: User.first)
- @main_section.render(to: self)
+ @main_section = MyProfileSection.new(screen: self)
+ @main_section.render
end
end
# app/sections/my_profile.rb
class MyProfileSection < Prime::Section
@@ -67,9 +67,10 @@
## Extensions
* [ECSlidingViewController 2 integration](https://github.com/droidlabs/prime_sliding_menu) (Sidebar)
* [RESideMenu integration](https://github.com/droidlabs/prime_reside_menu) (Sidebar)
+* [Sliding actions support](https://github.com/droidlabs/prime_sliding_action)
## Samples
* [Simple to-do app](https://github.com/droidlabs/prime_sample_todo)