Questions tagged [robobinding]

Robobinding is a data-binding Presentation Model(MVVM) framework for the Android platform.

Robobinding helps you write UI code that is easier to read, test and maintain without performance compromise (code generation instead of java reflection). For more details, checkout their official page here.

15 questions
5
votes
1 answer

Manually download dependency file that times out for gradle project in Android Studio

I am trying to add Robobinding with AspectJ using gradle to a new project in Android Studio. When I click "Sync Project with Gradle Files", the process has remained at "Gradle: Download…
Peter
  • 155
  • 2
  • 9
5
votes
4 answers

RoboBinding vs Android Binding for MVVM

What are some pros and cons of using RoboBinding vs Android Binding. eg. can RoboBinding be used on fragments ? What about Android binding for fragments ? Does any use reflection to slow down Android at run time ? Also which ones can be…
j2emanue
  • 60,549
  • 65
  • 286
  • 456
4
votes
1 answer

Making DependsOn work in RoboBinding

In RoboBinding there is the annotation DependsOnStateOf. When using it in a PresentationModel like this: @PresentationModel class GreetingPresentationModel { String firstname; String lastname; //getters and setters for both …
2
votes
1 answer

Gradle + RoboBinding with AspectJ + Lombok are not compatible together

I want to integrate in Android project on Gradle following libraries: Lombok RoboBinding with AspectJ Dagger In order to use RoboBinding with AspectJ and android tools 1.1.0 I compiled aspectj-plugin with this fix. All libraries are using some…
Aleksander Mielczarek
  • 2,787
  • 1
  • 24
  • 43
2
votes
1 answer

Espresso + RoboBinding + Dagger: Dependency management with gradle

I have heavy difficulties with running an Espresso instrumentation test in Android Studio. I think it has something to do with my build.gradle: apply plugin: 'com.android.application' apply plugin: 'com.neenbedankt.android-apt' apply plugin:…
user2368140
2
votes
1 answer

How to use Robobinding with async image loading?

How can i use Robobinding's AdapterView together with dynamic image loader , like ion or picasso ? I'm getting a list of locations from a REST-Service, where one of the properties is an url to an image which i want to show in my view. This is what i…
deelde
  • 1,540
  • 13
  • 23
2
votes
2 answers

Android RoboBinding firePropertyChange() undefined error

I am currently working on Android data binding application. I am using android "RoboBinding" library for binding Model-View and View-Model. I have used sample application from here for reference. This is my PresentationModel.java class…
Siddharth_Vyas
  • 9,972
  • 10
  • 39
  • 69
1
vote
0 answers

How to implement Robobinding in android app

I'm trying to implement the MVVM architecture using Robobinding. Here's the link I'm following for the Environment setup of Robobinding in Android Studio(without…
Akeshwar Jha
  • 4,516
  • 8
  • 52
  • 91
1
vote
1 answer

RoboBinding how does ViewModel know variable to return

Lets examine a simple example from here: Here is a simple layout file with a textview binding:
j2emanue
  • 60,549
  • 65
  • 286
  • 456
1
vote
1 answer

Integration of RoboBinding and retrolambda

I want to use both evant/gradle-retrolambda and RoboBinding/RoboBinding in my android project. When adding RoboBinding to your project, you can choose to use it with AspectJ using RoboBinding/RoboBinding-aspectj-plugin. However, whenever I turn it…
david-hoze
  • 1,045
  • 15
  • 31
1
vote
2 answers

Validation in Robobinding framework (Android)

I'm newbie in Android develop. I use Robobinding (MVVM framework) to develop Android application and I didn't found any solution to create validation in presentation model (not in activity). Has anyone encountered a similar problem? Which approach…
Peter Barbanyaga
  • 496
  • 7
  • 16
0
votes
0 answers

Having Product Flavors with RoboBinding?

I am trying to implement robobinding with product flavors but the custom code classes under the flavor's source directory never get executed. Has anyone tried anything similar to this use-case? i.e. used some kind of element binders and then…
0
votes
1 answer

Enabled attribute not working in button

I'm using this link (http://robobinding.github.io/RoboBinding/old_binding_attributes.html) to check which attributes are available. I'm trying to use the "enable" attribute in a button like this:
0
votes
1 answer

Android studio - Gradle building finished with non-zero exit value 2

I'm facing an issue with Gradle build. I needed to add a dependency to Robobinding in my app to give it a try, and after spending 4 painfull hour to get sync successfull (damned Gradle!), now Gradle building throws this error: Error:Execution failed…
0
votes
1 answer

RoboBinding: No such property exception on firePropertyChange()

I'm using RoboBinding in my project. In some place in class ContactsActivityViewModel I call firePropertyChange('Contacts') and get an exception: java.lang.IllegalArgumentException: No such property…
Alexandr
  • 695
  • 2
  • 9
  • 18