This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mwb.digitalstorage.database; | |
import android.app.Application; | |
public class BaseRepository | |
{ | |
protected DAO dao; | |
public BaseRepository(Application application) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void onActivityResult(int requestCode, int resultCode, Intent data) | |
{ | |
if (imgProcessor.isFromCamera()) | |
{ | |
companyRegistrationVM.setCompanyBitmap(imgProcessor.getImgPath()); | |
} | |
else | |
{ | |
companyRegistrationVM.companyImgObsv.set(imgProcessor.browseImage(data, getApplication())); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
at android.databinding.tool.writer.LayoutBinderWriterKt.getCallbackLocalName(LayoutBinderWriter.kt) | |
at android.databinding.tool.writer.LayoutBinderWriterKt.scopedName(LayoutBinderWriter.kt:198) | |
at android.databinding.tool.expr.Expr.toCode(Expr.java:786) | |
at android.databinding.tool.writer.LayoutBinderWriterKt$callbackLocalName$2.invoke(LayoutBinderWriter.kt:204) | |
at android.databinding.tool.writer.LayoutBinderWriterKt$callbackLocalName$2.invoke(LayoutBinderWriter.kt) | |
at android.databinding.tool.ext.LazyExt.getValue(ext.kt:56) | |
at android.databinding.tool.writer.LayoutBinderWriterKt.getCallbackLocalName(LayoutBinderWriter.kt) | |
at android.databinding.tool.writer.LayoutBinderWriterKt.scopedName(LayoutBinderWriter.kt:198) | |
at android.databinding.tool.expr.Expr.toCode(Expr.java:786) | |
at android.databinding.tool.writer.LayoutBinderWriterKt$callbackLocalName$2.invoke(LayoutBinderWriter.kt:204) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Executing tasks: [clean, :app:assembleDebug] | |
> Task :clean UP-TO-DATE | |
> Task :app:clean | |
> Task :app:preBuild UP-TO-DATE | |
> Task :app:preDebugBuild | |
> Task :app:compileDebugAidl NO-SOURCE | |
> Task :app:compileDebugRenderscript | |
> Task :app:checkDebugManifest | |
> Task :app:generateDebugBuildConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mwb.digitalstorage.modelUI; | |
import android.graphics.Color; | |
import androidx.databinding.ObservableField; | |
public class UIComponentCategory | |
{ | |
private long componentCatID; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
<data> | |
<variable | |
name="UIComponentCategory" | |
type="com.mwb.digitalstorage.modelUI.UIComponentCategory"/> | |
</data> | |
<TextView |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<data> | |
<variable | |
name="mainTitle" | |
type="String" /> | |
<variable | |
name="subTitle" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mwb.digitalstorage.modelUI; | |
import android.graphics.Bitmap; | |
import androidx.databinding.ObservableField; | |
public class UIStorage implements UIEntity | |
{ | |
public long storageID; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Entity | |
{ | |
long getEntityID(); | |
String getEntityName(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<data> | |
<import type="android.view.View"/> | |
<variable | |
name="vm" | |
type="com.mwb.digitalstorage.viewmodel.StorageOverViewViewModel"/> | |
<variable | |
name="cmdHandler" | |
type="com.mwb.digitalstorage.command_handlers.StorageCmdHandler"/> | |
<variable | |
name="tbvm" |