This file contains hidden or 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"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| tools:context=".MainActivity" | |
| android:background="#72F8EB" | |
| > |
This file contains hidden or 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
| implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' | |
| implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' |
This file contains hidden or 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
| function showPopulerUlasan(){ | |
| // panggil global variable connect | |
| global $connect; | |
| $resultSlide1 = $connect->query("SELECT * FROM ulasan"); | |
| if($resultSlide1->num_rows>0){ | |
| while ($row = $resultSlide1->fetch_assoc()) { | |
| $id = $row['id']; |
This file contains hidden or 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
| <div class="row d-flex justify-content-between"> | |
| <div class="col-lg-8"> | |
| <div class="card card-dark"> | |
| <div class="card-body"> | |
| <h5 class="card-title text-light"> | |
| Ulasan Berita Blog Kuh | |
| </h5> | |
| <hr class="text-light"> | |
| <div class="row"> |
This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <!-- Required meta tags --> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- Bootstrap CSS --> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css" integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous"> | |
This file contains hidden or 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
| @import url(http://fonts.googleapis.com/css?family=Roboto:400,300); | |
| @import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css); | |
| /* hover animation */ | |
| .card .card-image{ | |
| overflow: hidden; | |
| -webkit-transform-style: preserve-3d; | |
| -moz-transform-style: preserve-3d; | |
| -ms-transform-style: preserve-3d; | |
| -o-transform-style: preserve-3d; |
This file contains hidden or 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
| <div id="carousel" class="carousel slide" data-ride="carousel"> | |
| <ol class="carousel-indicators"> | |
| <li data-target="#carousel" data-slide-to="0" class="active bg-secondary"></li> | |
| <li data-target="#carousel" data-slide-to="1" class="bg-secondary"></li> | |
| <li data-target="#carousel" data-slide-to="2" class="bg-secondary"></li> | |
| </ol> | |
| <div class="carousel-inner"> | |
| <div class="carousel-item active"> | |
| <div class="row"> | |
| <div class="col-12 col-md-8 col-xl-6 mb-4"> |
This file contains hidden or 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.example.movieapp_nama_kelas.adapter | |
| import android.view.LayoutInflater | |
| import android.view.View | |
| import android.view.ViewGroup | |
| import android.widget.ImageView | |
| import android.widget.TextView | |
| import androidx.recyclerview.widget.RecyclerView | |
| import com.bumptech.glide.Glide | |
| import com.example.movieapp_nama_kelas.R |