therajanmaurya commented on a change in pull request #14: feat : list and 
search tellers
URL: https://github.com/apache/fineract-cn-mobile/pull/14#discussion_r204982303
 
 

 ##########
 File path: 
app/src/main/java/org/apache/fineract/ui/online/teller/TellerFragment.kt
 ##########
 @@ -0,0 +1,165 @@
+package org.apache.fineract.ui.online.teller
+
+import android.app.SearchManager
+import android.content.Context
+import android.os.Bundle
+import android.support.v4.widget.SwipeRefreshLayout
+import android.support.v7.widget.LinearLayoutManager
+import android.support.v7.widget.SearchView
+import android.text.TextUtils
+import android.view.*
+import kotlinx.android.synthetic.main.fragment_teller.*
+import kotlinx.android.synthetic.main.layout_exception_handler.*
+import org.apache.fineract.R
+import org.apache.fineract.data.models.teller.Teller
+import org.apache.fineract.ui.adapters.TellerAdapter
+import org.apache.fineract.ui.base.FineractBaseActivity
+import org.apache.fineract.ui.base.FineractBaseFragment
+import java.util.*
+import javax.inject.Inject
+
+
+class TellerFragment : FineractBaseFragment(), TellerContract.View, 
SwipeRefreshLayout.OnRefreshListener {
+
+    @Inject
+    lateinit var tellPresenter: TellerPresenter
+
+    @Inject
+    lateinit var tellerAdapter: TellerAdapter
+
+    lateinit var tellerList: List<Teller>
+
+    companion object {
+        fun newInstance(): TellerFragment = TellerFragment()
+    }
+
+    override fun onCreate(savedInstanceState: Bundle?) {
+        super.onCreate(savedInstanceState)
+        setHasOptionsMenu(true)
+        tellerList = ArrayList()
+
 
 Review comment:
   Remove blank line

----------------------------------------------------------------
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