abhijitramesh closed pull request #24: fixed build error
URL: https://github.com/apache/fineract-cn-mobile/pull/24
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/app/src/main/java/org/apache/fineract/ui/adapters/AccountsAdapter.kt 
b/app/src/main/java/org/apache/fineract/ui/adapters/AccountsAdapter.kt
index 784603a..f7f5f44 100644
--- a/app/src/main/java/org/apache/fineract/ui/adapters/AccountsAdapter.kt
+++ b/app/src/main/java/org/apache/fineract/ui/adapters/AccountsAdapter.kt
@@ -20,7 +20,7 @@ class AccountsAdapter @Inject constructor(@ApplicationContext 
val context: Conte
 
     var accounts: List<Account> = ArrayList()
 
-    override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): 
ViewHolder {
+    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): 
ViewHolder {
 
         val view = 
LayoutInflater.from(parent?.context).inflate(R.layout.item_account, parent, 
false)
         return ViewHolder(view)
diff --git a/app/src/main/java/org/apache/fineract/ui/adapters/LedgerAdapter.kt 
b/app/src/main/java/org/apache/fineract/ui/adapters/LedgerAdapter.kt
index dccd522..310fc75 100644
--- a/app/src/main/java/org/apache/fineract/ui/adapters/LedgerAdapter.kt
+++ b/app/src/main/java/org/apache/fineract/ui/adapters/LedgerAdapter.kt
@@ -20,7 +20,7 @@ class LedgerAdapter @Inject constructor(@ApplicationContext 
val context: Context
 
     private var ledgers: List<Ledger> = ArrayList()
 
-    override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): 
ViewHolder {
+    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): 
ViewHolder {
 
         val view = 
LayoutInflater.from(parent?.context).inflate(R.layout.item_ledger, parent, 
false)
         return ViewHolder(view)
diff --git a/app/src/main/java/org/apache/fineract/ui/adapters/TellerAdapter.kt 
b/app/src/main/java/org/apache/fineract/ui/adapters/TellerAdapter.kt
index 7eb2015..ead8b3b 100644
--- a/app/src/main/java/org/apache/fineract/ui/adapters/TellerAdapter.kt
+++ b/app/src/main/java/org/apache/fineract/ui/adapters/TellerAdapter.kt
@@ -21,7 +21,7 @@ class TellerAdapter @Inject constructor(@ApplicationContext 
val context: Context
 
     var tellers: List<Teller> = ArrayList()
 
-    override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): 
ViewHolder {
+    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): 
ViewHolder {
         val view = 
LayoutInflater.from(parent?.context).inflate(R.layout.item_teller,
                 parent, false)
         return ViewHolder(view)


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to