Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Remove red error report in ViewStubActivity.java #15

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 5 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,6 @@
# Built application files
*.apk
*.ap_

# Files for the Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/

# Gradle files
.gradle/
build/
/*/build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
/infer-out
.idea
build
*/build
*.iml
local.properties
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

22 changes: 0 additions & 22 deletions .idea/compiler.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/copyright/profiles_settings.xml

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/gradle.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

69 changes: 0 additions & 69 deletions .idea/misc.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/modules.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

19 changes: 0 additions & 19 deletions AndroidDataBinding.iml

This file was deleted.

1 change: 0 additions & 1 deletion app/.gitignore

This file was deleted.

111 changes: 0 additions & 111 deletions app/app.iml

This file was deleted.

2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
android:name="com.liangfeizc.databinding.sample.converter.ConversionsActivity"
android:label="@string/title_activity_conversions" >
</activity>
<activity android:name=".sample.ViewDataBindingActivity" >
</activity>
</application>

</manifest>
8 changes: 6 additions & 2 deletions app/src/main/java/com/liangfeizc/databinding/model/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* Created by liangfeizc on 6/2/15.
*/
public class User {
private final String firstName;
private final String lastName;
private String firstName;
private String lastName;
private String displayName;
private int age;

Expand All @@ -27,6 +27,10 @@ public String getFirstName() {
return firstName;
}

public void setFirstName(String v) {
firstName = v;
}

public String getLastName() {
return lastName;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,8 @@ public void openAttributeSetters(View view) {
public void openConverters(View view) {
startActivity(new Intent(this, ConversionsActivity.class));
}

public void openViewDataBinding(View view) {
startActivity(new Intent(this, ViewDataBindingActivity.class));
}
}
Loading