Skip to content

Commit

Permalink
refactoring recipes 🍲
Browse files Browse the repository at this point in the history
  • Loading branch information
tomorisakura committed Mar 19, 2021
1 parent e6ddaad commit bd3c97d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Masak Apa App
---

<img src="https://github.com/tomorisakura/masak-apa/blob/master/preview/preview.png" width="600">
![](https://github.com/tomorisakura/masak-apa/blob/master/preview/preview.png)

__Masak Apa__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ class RecipesFragment : Fragment() {
private fun swipeRefresh() = with(binding) {
networkUtils.networkDataStatus.observe(viewLifecycleOwner) { isConnect ->
if (isConnect) {
pg.visibility = View.VISIBLE
refreshLayout.setOnRefreshListener {
Handler(Looper.getMainLooper()).postDelayed({
prepareView()
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/fragment_recipes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
android:id="@+id/pg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:indeterminate="true"/>

<androidx.recyclerview.widget.RecyclerView
Expand Down
Binary file modified preview/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bd3c97d

Please sign in to comment.